Jump to content

Alguien me hace esta quest porfavor


palomo

Mensajes recomendados

quest luzluna begin
	state start begin
		when login begin
                if game.get_event_flag("mondlicht_event") == 1 then
                    notice("El Evento Cajas Tesoro Luz de Luna está activado.")
                end
            end
		when 20095.chat."Evento  Caja Luz Luna" with pc.is_gm() begin
			say_title("Evento de Caja Luz Luna")
			say("")
			say_reward("¿Que quieres hacer?")
		local s = select("Activar evento", "Desactivar evento", "Cancelar")
			if s == 1 then
				game.set_event_flag("mondlicht_event", 1)
				notice_all("Se ha activado el Evento Cajas Tesoro Luz de Luna.")
			elseif s == 2 then
				game.set_event_flag("mondlicht_event", 0)
				notice_all("El evento Cajas Tesoro Luz de Luna ha terminado.")
			end
		end

		when kill with not npc.is_pc() and game.get_event_flag("mondlicht_event") == 1 begin
			local porc = math.random(1,250)
				if porc <= 2 then
					game.drop_item_with_ownership("50011", 1)
					syschat("Has recibido una Caja Tesoro Luz Luna.")
				end
		end
	end
end	
		

 

#Arreglada.

Enlace para comentar
Compartir en otros sitios

hace 7 horas, Edward dijo:

		when kill with not npc.is_pc() and game.get_event_flag("mondlicht_event") == 1 begin
			if pc.count_item(50011) >= 0 then -- Esto como si no estuviera, hace lo mismo con y sin
				...
			end
		end

 

Por lo demás la veo 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...