--------------------------------- Evento guerra by Sinval -- ------------------------------- quest evento_guerra beginstate start begin when ID Do NPC.chat."GM : Evento de Guerra" with pc.is_gm() begin say_title("Olá" .. pc.get_name() .. "" ) say("Bem quer iniciar o ") say("Evento de Guerra ?") say("") say_reward("O que uqer fazer?") local s = select ("Começar" , "Desativar" , "Cancelar") if s == 1 then game.set_event_flag("evento_guerra", 1) notice_all("O evento guerra foi ativado!") notice_all("Para participar dirija-se para guarda da cidade") notice_all("Necessario level 75+....") timer("dc10", 600) elseif s == 2 then game.set_event_flag("evento_guerra", 0) notice_all("O evento de guerra aabou!") elseif s == 3 then return end end when dc10.timer begin notice_all("Entrada foi fechada!") game.set_event_flag("evento_guerra", 0) end
Bem estou a fazer a minha quest mais não sei si
when dc10.timer begin notice_all("Entrada foi fechada!") game.set_event_flag("evento_guerra", 0) end
fecha, si alguem puder me dizer si assim dá, ou como posso fazer pra fechar a quest.
Share this post
Link to post
Share on other sites