LuisSampaio Posted May 10, 2013 Report Share Posted May 10, 2013 Que alguien me ayude arreglar esta quest ¿Quién trajo me ayudo a mi Gusta quest evento_chuva_metin begin state start begin when 20088.chat."GM: Evento chuva de metin" with pc.is_gm() begin if game.get_event_flag("evento") == 0 then say("Evento desativado.") say("Queres ativar?") local a = select ("Sim", "Não") if a == 1 then game.set_event_flag("evento", 1) say("Feito.") notice_all("O evento chuva de metins começou!!") notice_all("Em breve serão espalhadas metins pelos reinos!") end elseif game.get_event_flag("evento") == 1 then say("Evento ativado.") say("Queres desativar?") local b = select ("Sim", "Não") if b == 1 then game.set_event_flag("evento", 0) notice_all("O evento acabou.") pc.setqf("metins_mapa1", 0) pc.setqf("metins_mapa21", 0) pc.setqf("metins_mapa41", 0) end if pc.get_map_index() == 1 then say("O evento esta ativado.") say("Quer chamar as metins?") local c = select ("Sim", "Não") if c == 1 with pc.getqf("metins_mapa1") == 0 then mob.spawn(8027, 182, 173, 1) -- 8027 id da da pedra "182, 173" local ond vão nacer 1 quantidade notice_in_map("Foram invocadas as metins do evento.") pc.setqf("metins_mapa1", 1) elseif pc.getqf("metins_mapa1") == 1 then say("Já invocaste as metins uma vez") end elseif pc.get_map_index() == 21 then say("O evento esta ativado.") say("Quer chamar as metins?") local d = select ("Sim", "Não") if d == 1 with pc.getqf("metins_mapa21") == 0 then mob.spawn(8027, 182, 173, 1) -- 8027 id da da pedra "182, 173" local ond vão nacer 1 quantidade notice_in_map("Foram invocadas as metins do evento.") pc.setqf("metins_mapa21", 1) elseif pc.getqf("metins_mapa21") == 1 then say("Já invocaste as metins uma vez.") end elseif pc.get_map_index() == 41 then say("O evento esta ativado.") say("Quer chamar as metins?") local e = ("Sim", "Não") if e == 1 with pc.getqf("metins_mapa41") == 0 then mob.spawn(8027, 182, 173, 1) -- 8027 id da da pedra "182, 173" local ond vão nacer 1 quantidade notice_in_map("Foram invocadas as metins do evento.") pc.setqf("metins_mapa41", 1) elseif pc.getqf("metins_mapa41") == 1 then say("Já invocaste as metins uma vez.") end end end end end Link to comment Share on other sites More sharing options...
Yori Posted May 10, 2013 Report Share Posted May 10, 2013 a simple vista le falta un end al final, si sigue fallando ya miro lo demas Link to comment Share on other sites More sharing options...
Recommended Posts