uchiaitachisan21 0 Posted December 4, 2016 Boa noite amigos. Alguem possui uma quest em que consista em matar x de mobs e receber nivel + manual de militar? Share this post Link to post Share on other sites
0 VMP. 202 Posted December 4, 2016 3 horas atrás, uchiaitachisan21 disse: Boa noite amigos. Alguem possui uma quest em que consista em matar x de mobs e receber nivel + manual de militar? Boas, algo assim? quest militar1 begin state start begin when [ID].kill begin local count = pc.getqf("mob_count") + 1 if count < [NumeroTotal] then pc.setqf("mob_count", count) q.set_counter("[Nome]", count) end if count >= [NumeroTotal] then say_title("Parabéns!") say_desc("Completaste a missão") say_reward("Recebeste: Nível X") say_reward("Recebeste: Manual Militar") pc.give_exp2([Experiencia_Necessaria]) pc . give_item2 ( "[ID_Manual]" , 1 ) clear_letter() end end end end Share this post Link to post Share on other sites
0 uchiaitachisan21 0 Posted December 4, 2016 Citar quest militar1 begin state start begin when 1091.kill begin local count = pc.getqf("mob_count") + 1 if count < 1 then pc.setqf("mob_count", count) q.set_counter("Ceifador", count) end if count >= 1 then say_title("Parabéns!") say_desc("Completaste a missão") say_reward("Recebeste: Cavalo nivel 21") say_reward("Recebeste: Manual Militar") pc.give_exp2(999) pc . give_item2 ( "[ID_ManualXXXX]" , 1 ) clear_letter() end end end end É assim que fica amigo? Share this post Link to post Share on other sites
0 VMP. 202 Posted December 4, 2016 32 minutos atrás, uchiaitachisan21 disse: É assim que fica amigo? Pelo que percebi, o que queres é o nível do cavalo e não do jogador, altera: pc.give_exp2(999) pc . give_item2 ( "[ID_ManualXXXX]" , 1 ) clear_letter() Para: horse . advance ( ) pc . give_item2 ( "[EscreveAquiOID]" , 1 ) clear_letter() 1 uchiaitachisan21 reacted to this Share this post Link to post Share on other sites
0 uchiaitachisan21 0 Posted December 5, 2016 Citar quest militar1 begin state start begin when 1091.kill begin local count = pc.getqf("mob_count") + 1 if count < 1 then pc.setqf("mob_count", count) q.set_counter("Ceifador", count) end if count >= 1 then say_title("Parabéns!") say_desc("Completaste a missão") say_reward("Recebeste: Cavalo nivel 21") say_reward("Recebeste: Manual Militar") horse . advance ( 21 ) pc . give_item2 ( "50053" , 1 ) clear_letter() end end end end coloquei a quest assim e da erro Citar QUEST : militar1 STATE : start WHEN : 1091.kill Calls undeclared function! : say_desc Abort (core dumped) Share this post Link to post Share on other sites
0 Cσяvσ⋆ 1,804 Posted December 5, 2016 Utiliza o say(" ") em vez de say_desc(" "). 1 uchiaitachisan21 reacted to this Share this post Link to post Share on other sites
0 uchiaitachisan21 0 Posted December 5, 2016 Obrigado Corvo resolveu e Obrigado Moises. pela quest Share this post Link to post Share on other sites
Boa noite amigos.
Alguem possui uma quest em que consista em matar x de mobs e receber nivel + manual de militar?
Share this post
Link to post
Share on other sites