AnecyAN 0 Posted December 22, 2016 Boas Noites gostava que esta quest da capa da bravura tivesse um tempo para executar a tarefa, exemplo de 5 em 5 seg fazer a função "pc.aggregate_monster ()" e que desse para desactivar quest NOME begin state start begin when ID.use begin pc.aggregate_monster () end end end Share this post Link to post Share on other sites
0 Cσяvσ⋆ 1,804 Posted December 22, 2016 quest NOME begin state start begin while pc.getqf("moob_pull") == 1 do pc.aggregate_monster() wait(5) end when ID.use with pc.getqf("moob_pull") == 0 begin chat("Desactivaste as capas!") pc.setqf("moob_pull", 1) end when ID.use with pc.getqf("moob_pull") == 1 begin chat("Activaste as capas!") pc.setqf("moob_pull", 0) end end end quest NOME begin state start begin while pc.getqf("moob_pull") == 1 do pc.aggregate_monster() end when ID.use with pc.getqf("moob_pull") == 0 begin chat("Desactivaste as capas!") pc.setqf("moob_pull", 1) end when ID.use with pc.getqf("moob_pull") == 1 begin chat("Activaste as capas!") pc.setqf("moob_pull", 0) end end end quest NOME begin state start begin local moob_pull = 0 while moob_pull == 1 do pc.aggregate_monster() wait(5) end when ID.use with moob_pull == 0 begin chat("Desactivaste as capas!") moob_pull = 1 end when ID.use with moob_pull == 1 begin chat("Activaste as capas!") moob_pull = 0 end end end quest NOME begin state start begin local moob_pull = 0 while moob_pull == 1 do pc.aggregate_monster() end when ID.use with moob_pull == 0 begin chat("Desactivaste as capas!") moob_pull = 1 end when ID.use with moob_pull == 1 begin chat("Activaste as capas!") moob_pull = 0 end end end Uma delas deverá funcionar, não sei como é que o pc.getqf trabalha nem se o wait() funciona em Lua, caso nada funcionar duplica o item e quest do anel anti-exp e modifica a quest (ou mete-a cá). PS: Pede ao New, ele deve saber 1 AnecyAN reacted to this Share this post Link to post Share on other sites
0 AnecyAN 0 Posted December 22, 2016 Como é que nao me lembrei da do anel anty XP obrigado Share this post Link to post Share on other sites
Boas Noites gostava que esta quest da capa da bravura tivesse um tempo para executar a tarefa, exemplo de 5 em 5 seg fazer a função "pc.aggregate_monster ()"
e que desse para desactivar
quest NOME begin
state start begin
when ID.use begin
pc.aggregate_monster ()
end
end
end
Share this post
Link to post
Share on other sites