Jump to content

como reducir el drop de esta quest?


peri200

Mensajes recomendados

quest special_drop1 begin
state start begin
  when 20078.chat."Evento de pelotas de futbol" with pc.is_gm() begin
say_title("Empezar el evento")
say("Yushi2")
say("Quieres comenzar el evento?")
say("los monstruos que maten los users")
say("les dara unos items especiales")
say("")
say_reward("Que quieres hacer??")
 
  local evento = select ("Actvarlo" , "Desactivarlo" ,  "Salir")
if evento == 1 then
 
 game.set_event_flag("pelotafut_drop", 1)
 notice_all("El evento de pelotas de futbol a comenzado en pandora solo los chicos podran abrir el cofre")
 notice_all("Solo los personajes del 1 al 99 les caera el items")
elseif evento == 2 then
 
 game.set_event_flag("pelotafut_drop", 0)
 notice_all("El evento pelotas de futbol terminado en pandora")
 notice_all("esperamos que les haya gustado")
elseif evento == 3 then
 return
 end
  end
 when kill with not npc.is_pc() and game.get_event_flag("pelotafut_drop") == 1 begin
  local s = number(1, 200)
   if s <= 2 then
   if pc.get_level() >= 1 and pc.get_level() <= 99 then
  game.drop_item(50096)
return
   end
   elseif s <= 2 then
   if pc.get_level() >= 100 and pc.get_level() <= 101 then
game.drop_item(50096)
return
   end
 
   elseif s <= 2 then
if pc.get_level() >= 102 and pc.get_level() <= 103 then
game.drop_item(50096)
return
   end
 
  else if s <= 2 then
   if pc.get_level() >= 104 and pc.get_level() <= 105 then
  game.drop_item(50096)
return
   end
 
   elseif s <= 1 then
if pc.get_level() >= 105 and pc.get_level() <= 105 then
game.drop_item(50096)
   end
  end
end
 
 
  end
end
end
 
 
tengo que reducir el numero llamado then¿ es el del drop o cual gracias _:$
Enlace para comentar
Compartir en otros sitios

 

quest special_drop1 begin
state start begin
  when 20078.chat."Evento de pelotas de futbol" with pc.is_gm() begin
say_title("Empezar el evento")
say("Yushi2")
say("Quieres comenzar el evento?")
say("los monstruos que maten los users")
say("les dara unos items especiales")
say("")
say_reward("Que quieres hacer??")
 
  local evento = select ("Actvarlo" , "Desactivarlo" ,  "Salir")
if evento == 1 then
 
 game.set_event_flag("pelotafut_drop", 1)
 notice_all("El evento de pelotas de futbol a comenzado en pandora solo los chicos podran abrir el cofre")
 notice_all("Solo los personajes del 1 al 99 les caera el items")
elseif evento == 2 then
 
 game.set_event_flag("pelotafut_drop", 0)
 notice_all("El evento pelotas de futbol terminado en pandora")
 notice_all("esperamos que les haya gustado")
elseif evento == 3 then
 return
 end
  end
 when kill with not npc.is_pc() and game.get_event_flag("pelotafut_drop") == 1 begin
  local s = number(1, 200)
   if s <= 2 then
   if pc.get_level() >= 1 and pc.get_level() <= 99 then
  game.drop_item(50096)
return
   end
   elseif s <= 2 then
   if pc.get_level() >= 100 and pc.get_level() <= 101 then
game.drop_item(50096)
return
   end
 
   elseif s <= 2 then
if pc.get_level() >= 102 and pc.get_level() <= 103 then
game.drop_item(50096)
return
   end
 
  else if s <= 2 then
   if pc.get_level() >= 104 and pc.get_level() <= 105 then
  game.drop_item(50096)
return
   end
 
   elseif s <= 1 then
if pc.get_level() >= 105 and pc.get_level() <= 105 then
game.drop_item(50096)
   end
  end
end
 
 
  end
end
end
 
 
tengo que reducir el numero llamado then¿ es el del drop o cual gracias _:$

 

 

Mirando así a ojo, te sobra un end al final, ya que si no la pones como código php, no se puede ver bien.

Enlace para comentar
Compartir en otros sitios

  • Dilong locked this tema
Guest
Este tema está cerrado a otras respuestas.
  • Recientemente navegando por este tema   0 miembros

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