Tiago Gomes 3 Posted July 21, 2015 Boas cyberianos, estou aqui a pedir 1 quest a quest é o seguinte quando matamos um jogador damos 1kk de gold e subimos um nivel. Cumprimentos Share this post Link to post Share on other sites
Frotaz 184 Posted July 21, 2015 Boas Fica aqui a quest quest expvp begin state start begin function setLevel(lvl) while pc.get_level() < lvl do pc.give_exp2(pc.get_next_exp()) end end when login begin --with pc.getqf("nivel") == 0 begin -- pc.setqf("nivel", 1) expvp.setLevel(70) end when kill with npc.is_pc() begin local tabela_exp = { -- Nível Experiência [70] = {77310000}, [71] = {85040000}, [72] = {93540000}, [73] = {102900000}, [74] = {113500000}, [75] = {121000000}, [76] = {137000000}, [77] = {150700000}, [78] = {165700000}, [79] = {236990000}, [80] = {260650000}, [81] = {286780000}, [82] = {315000000}, [83] = {346970000}, [84] = {381680000}, [85] = {419770000}, [86] = {461760000}, [87] = {508040000}, [88] = {558740000}, [89] = {614640000}, [90] = {676130000}, [91] = {743730000}, [92] = {1041222000}, [93] = {1145344200}, [94] = {1259878620}, [95] = {1385866482}, [96] = {1524453130}, [97] = {1676898443}, [98] = {1844588288}, [99] = {2029047116}, [100] = {2050000000}, [101] = {2060000000}, [102] = {2070000000}, [103] = {2080000000}, [104] = {2090000000}, [105] = {2100000000} } if pc.get_empire == npc.get_empire() then if pc.get_real_alignment() >= 0 then -- if pc.select(npc.get_vid()) != 0 then -- local qf = pc.getqf("nivel") -- local npc_alignment = pc.get_real_alignment() -- pc.select(pc.select(npc.get_vid())) -- if qf != 0 and npc_alignment >= 0 then pc.give_exp2(tabela_exp[pc.get_level()][1] / 1) pc.give_gold(1000000) -- end -- end end end end end end Nesta quest, tens uma tabela feita de level 70 a 105. Não sei que level queres.... Mas basta tirares um deles, meter o nivel que queres e ver a exp necessária para o respetivo level e meter ! Tabela de exp:http://wiki.metin2.com.pt/index.php/Experi%C3%AAncia PS: Penso que esteja certa, eu não a testei Créditos: PACIFICADOR Share this post Link to post Share on other sites
Tiago Gomes 3 Posted July 21, 2015 pois mas é que queria de 105 para cima Share this post Link to post Share on other sites
Frotaz 184 Posted July 21, 2015 pois mas é que queria de 105 para cima Faz a tabela de exp... Não sei quanta exp é precisa, tens de ver Share this post Link to post Share on other sites
Frotaz 184 Posted July 21, 2015 e como a faço? A tabela tens ai feita ! Basta mudar de 70 para 105, por ai fora.. A exp tens de ir ver e por a exp correspondente no level Share this post Link to post Share on other sites