Jump to content

Pesquisa Biólogo Nivel 70


tierrilopes
 Share

Recommended Posts

------------------------------------------------------COLLECT QUEST_lv70--METIN2 Collecting Quest----------------------------------------------------quest collect_quest_lv70 begin state start begin end state run begin when login or levelup with pc.level >= 70 begin set_state(information) end end state information begin when letter begin local v = find_npc_by_vnum(20084) if v != 0 then target.vid("__TARGET__", v, "Chaegirab") end q.set_icon("scroll_open_green.tga") send_letter("&The Request of Chaegirab") end when button or info begin say_title("O pedido de Chaegirab") say("") say("O aprendiz de Uriel, Biólogo Chaegirab,") say("precisa urgentemente da tua ajuda.") say("Vai ver de que precisa ele.") say("") end when __TARGET__.target.click or 20084.chat."Ouve-me!" begin target.delete("__TARGET__") say_title("Chaegirab:") say("") ----"123456789012345678901234567890123456789012345678901234567890"| say("Oh! Olá outra vez!") say("") say("Aprecido toda a ajuda que me tens dado recentemente.") say("Mas preciso dela outra vez. Preciso que vás à Floresta.") wait() say_title("Chaegirab:") say("") say("Energias misteriosas rodeiam a Floresta.") say("Para a perceber melhor preciso que me recolhas informações.") say("Os Ramos de Zelkova contém informações preciosas e precisava que mos trouxesses") say("para os puder investigar") say("") wait() say_title("Chaegirab:") say("") say("Só não tragas os que estão partidos, senão não os poderei investigar.") say("Boa sorte.") say("") say("") set_state(go_to_disciple) pc.setqf("duration",0) pc.setqf("collect_count",0) pc.setqf("drink_drug",0) end end state go_to_disciple begin when letter begin send_letter("&The Ghost Forest") end when button or info begin say_title("The Ghost Forest") ----"123456789012345678901234567890123456789012345678901234567890"| say("") say("Desta vez, Chaegirab, precisa que lhe tragas") say("Ramos de Zelkova, estes podem ser encontrados na Floresta Gunsam.") say("Traz-lhe 25 Ramos Zelkova para ele os analisar.") say("trees with very special skills.") say("") say_reward("Já entregas-te "..pc.getqf("collect_count").." ramos.") say("") end when 71035.use or 76020.use begin if get_time() < pc.getqf("duration") then syschat("Ainda não podes usar o Elixir do Investigador.") return end if pc.getqf("drink_drug")==1 then syschat("Já usas-te.") return end if pc.count_item(30165)==0 then syschat("Só podes usar quando tiveres Ramos Zelkova.") return end item.remove() pc.setqf("drink_drug",1) end when 2301.kill or 2302.kill or 2303.kill or 2304.kill or 2305.kill begin local s = number(1, 100) if s == 1 then pc.give_item2(30165) send_letter("Encontras-te a/o "..item_name(30165).. ".") end end when 20084.chat."GM: collect_quest_lv70.skip_delay" with pc.count_item(30165) >0 and pc.is_gm() and get_time() <= pc.getqf("duration") begin say(mob_name(20084)) say("You are GM, OK") pc.setqf("duration", get_time()-1) return end when 20084.chat."Trouxes-te os ramos? " with pc.count_item(30165) >0 begin if get_time() > pc.getqf("duration") then say("Chaegirab:") --- l say("Oh!! Trouxes-te-me um ramo...") say("Vou verificá-lo.") say("Um momento.") say("") pc.remove_item(30165, 1) pc.setqf("duration",get_time()+60*60*10) wait() local pass_percent if pc.getqf("drink_drug")==0 then pass_percent=60 else pass_percent=90 end local s= number(1,100) if s<= pass_percent then if pc.getqf("collect_count")< 24 then local index =pc.getqf("collect_count")+1 pc.setqf("collect_count",index) say_title("Chaegirab:") say("Oh!! Maravilhoso, obrigado!") say("Só preciso que me tragas mais ".." "..25-pc.getqf("collect_count").. " ramos.") say("Boa sorte!") say("") pc.setqf("drink_drug",0) return end say_title("Chaegirab:") say("") --- l say("Oh! Coleccionas-te todos os ramos!!") say("Agora só preciso que me tragas a Pedra-Espírita Gyimok.") say("Esta pode ser arranjada nos monstros da Floresta Gunsam.") say("Poderias-me trazer uma?") say("") pc.setqf("collect_count",0) pc.setqf("drink_drug",0) pc.setqf("duration",0) set_state(key_item) return else say_title("Chaegirap:") say("") say("Hmm...") say("Desculpa mas este ramo está partido..") say("Por favor traz-me outro..") say("") pc.setqf("drink_drug",0) return end else say_title("Biologist Chaegirab:") say("") local hours = math.floor((pc.getqf("duration")-get_time())/60/60) local remaining = hours.." horas" if hours < 1 then remaining = "a alguns minutos" elseif hours < 2 then remaining = "mais logo" end say("Peço imensa desculpa. Ainda não acabei de analisar o ramo") say("Poderias-me traze-lo daqui "..remaining.."?") say("") end end end state key_item begin when letter begin send_letter("A Pedra-Espírita Gyimok") if pc.count_item(30224)>0 then local v = find_npc_by_vnum(20084) if v != 0 then target.vid("__TARGET__", v, "Chaegirap") end end end when button or info begin if pc.count_item(30224) >0 then say_title("A Pedra-Espírita Gyimok") say("") --- l say("A Pedra-Espírita Gyimok da floresta.") say("Finalmente encontras-te-a!") say("Entrega-a Chaegirab.") say("") return end say_title("A Pedra-Espírita Gyimok") say("") --- l say("Encontras-te os 25 ramos que Chaegirab pediu.") say("A última coisa que ele precisa é da Pedra-Espírita Gyimok.") say("Podes encontrá-la na Floresta Fantasma.") say_item_vnum(30224)----------Pedra-Espírita Gyimok say("") say("Encontra-a e trá-la a Chaegirab.") say("") end when 2301.kill or 2302.kill or 2303.kill or 2304.kill or 2305.kill begin local s = number(1, 400) if s == 1 and pc.count_item(30224)==0 then pc.give_item2(30224) send_letter("&Encontras-te a Pedra-Espírita Gyimok.") end end when __TARGET__.target.click or 20084.chat."Encontras-te a Pedra-Espírita Gyimok." with pc.count_item(30224) > 0 begin target.delete("__TARGET__") say_title("Chaegirab:") say("") --- l say("Oh!!! Muito obrigado...") say("Como recompensa aumentarei os teus poderes.") say("Toma esta receita e entrega-a a Baek-Go. Ele saberá o que fazer com ela.") say("") say("Estou extremamente agradecido, que a tua aventura") say("corra bem. Boa sorte!") say("") pc.remove_item(30224,1) set_state(__reward) end end state __reward begin when letter begin send_letter("A recompensa de Chaegirab") local v = find_npc_by_vnum(20018) if v != 0 then target.vid("__TARGET__", v, "Baek Go") end end when button or info begin say_title("A recompensa de Chaegirab") --- l say("Como recompensa por ajudares Chaegirab com a sua pesquisa,") say("Chaegirab, deu-te uma receita.") say("") say("Entrega-a a Baek-go para uma recompensa.") say("") end when __TARGET__.target.click or 20018.chat."A Receita Secreta" begin target.delete("__TARGET__") say_title("Baek-Go:") say("") --- l say("Deixa-me ver...") say("Esta é a receita que Chaegirab te deu?") say("Hmm, +10% Redução de Danos e +10 Velocidade Movimento.") say("Cá vamos nós.") say("") wait() say_title("Baek-Go:") say("") say("Ele pediu-me para também te entregar outra coisa.") say("Ah! Aqui está ela, leva esta caixa contigo.") say("") say_reward("Recompensa por ajudares Chaegirab:") say_reward("10 Velocidade Movimento e +10% Redução de Danos.") say("") say_reward("Estes efeitos são permanentes.") say("") affect.add_collect(apply.MOV_SPEED,11,60*60*24*365*60) affect.add_collect_point(POINT_DEF_BONUS,10,60*60*24*365*60) --60³â pc.give_item2(50113) clear_letter() set_quest_state("collect_quest_lv80", "run") set_state(__complete) end end state __complete begin endend

biologo_lvl70.quest

biologo_lvl70.quest

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...