KB CRAZY CHANNEL 121 Posted December 17, 2016 Boas! Estou a criar uma quest que supostamente dá nível máximo o que acontece é que não sei o EXP que deva inserir para ficar logo com nível máximo... Eu uso: pc.give_exp2(461760000) queria uma função que em vez de EXP desse logo nível máximo! Share this post Link to post Share on other sites
1 Cσяvσ⋆ 1,804 Posted December 17, 2016 quest NOMEDAQUEST begin state start begin when login with pc.get_level() < 120 begin local lvl = 120 if pc.get_level() < 120 then while pc.get_level() < lvl do pc.give_exp2(pc.get_next_exp()) end end end end end Try it. 1 KB CRAZY CHANNEL reacted to this Share this post Link to post Share on other sites
0 MoneyDrop 10 Posted December 17, 2016 Se usares source. table->level = 1; Share this post Link to post Share on other sites
-2 BloodyBill 0 Posted December 17, 2016 Faz isso, é muito bom. Principalmente quando dezenas de jogadores entrarem do servidor ao mesmo tempo e te lagarem o ch. Cria uma função na src para tal, 2 minutos e feito. Share this post Link to post Share on other sites
Boas!
Estou a criar uma quest que supostamente dá nível máximo o que acontece é que não sei o EXP que deva inserir para ficar logo com nível máximo...
Eu uso:
pc.give_exp2(461760000)
queria uma função que em vez de EXP desse logo nível máximo!
Share this post
Link to post
Share on other sites