Jump to content

Alguien me hace esta quest porfavor


palomo

Recommended Posts

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.

Link to comment
Share on other sites

  • Dilong locked this topic
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...