Jump to content

Quest cofre items o polimorfas


Dilong

Mensajes recomendados

Pues eso, no hay mucho que decir 😆

quest cofre begin
state start begin
when 38056.use begin
local items = {
	{19, 1},
	{29, 1},
	{39, 1},
	{49, 1}
}
local mobid = {
	{101},
	{102},
	{103},
	{104}
}
local items2 = math.random(table.getn(items))
local mobid2 = math.random(table.getn(mobid))
local intercambio = math.random(1,2)
if intercambio == 1 then
pc.give_item2(items[items2][1], items[items2][2])
pc.remove_item(38056,1)
elseif intercambio == 2 then
pc.give_poly_marble(mobid[mobid2][1])
chat("Has recibido "..mob_name(mobid[mobid2][1]).." bola polimorfa.")
pc.remove_item(38056,1)
end end end end

 

Enlace para comentar
Compartir en otros sitios

hace 19 horas, Dilong dijo:

Pues eso, no hay mucho que decir 😆

quest cofre begin
state start begin
when 38056.use begin
local items = {
	{19, 1},
	{29, 1},
	{39, 1},
	{49, 1}
}
local mobid = {
	{101},
	{102},
	{103},
	{104}
}
local items2 = math.random(table.getn(items))
local mobid2 = math.random(table.getn(mobid))
local intercambio = math.random(1,2)
if intercambio == 1 then
pc.give_item2(items[items2][1], items[items2][2])
pc.remove_item(38056,1)
elseif intercambio == 2 then
pc.give_poly_marble(mobid[mobid2][1])
chat("Has recibido "..mob_name(mobid[mobid2][1]).." bola polimorfa.")
pc.remove_item(38056,1)
end end end end

 

Aun por aqui mi bro! 😮

Enlace para comentar
Compartir en otros sitios

Unirse a la conversación

Puedes publicar ahora y registrarte más tarde. Si tienes una cuenta, regístrate para publicar con su cuenta.

Guest
Responder a este tema...

×   Has pegado contenido con formato .   Eliminar formato

  Only 75 emoji are allowed.

×   Tu enlace se ha incorporado automáticamente.   Mostrar un enlace en su lugar

×   Se ha restaurado el contenido anterior. .   Borrar editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recientemente navegando por este tema   0 miembros

    • No hay usuarios registrados visitando esta página.
×
×
  • Crear nuevo...