DarkWolf 102 Posted March 7, 2013 (edited) Boas pessoal quero meter um bonus num item por quest mas estou a ter dificuldades, alguem que perceba de quests que ajude ai pf: ta ai a quest: quest item_bonus begin state start begin when 40008.use begin affect.add_collect(apply.INT, 50*60*24*365*60) end end end ou então digam ai uma forma de como por 4 bonus num item. http://cyber-gamers.org/public/style_emoticons/default/451960.gif para quem conseguir por isto a funcionar. Edited March 7, 2013 by Kenny (see edit history) Share this post Link to post Share on other sites
0 kimameixede 70 Posted March 8, 2013 quest bonus begin state start begin when npc.chat."Bonus em arma" begin say_title("By TheSubKiller") say("Tenho o poder de adicionar um bonus a tua arma.") say("Apenas irá custar 50kk não é nada.") say_reward("Que dano queres?") local a = select ( "Bonus 1" , "bonus 2" , "Cancelar" ) if a == 3 then return end else a == 1 then if pc . gold >= 50000000 then pc . changegold ( -50000000 ) pc . add sk 1 ( id bonus , quantidade) if pc . gold < 10000000 then else say("Não tens dinheiros suficiente.") end else a == 2 then if pc . gold >= 50000000 then pc . changegold ( -50000000 ) pc . add sk 1 (id bonus , quantidade) if pc . gold < 10000000 then else say("Não tens dinheiros suficiente.") end else a == 3 then end end opa nao testei isto por isso faz backup antes de testares Share this post Link to post Share on other sites
0 DarkWolf 102 Posted March 8, 2013 quest bonus begin state start begin when npc.chat."Bonus em arma" begin say_title("By TheSubKiller") say("Tenho o poder de adicionar um bonus a tua arma.") say("Apenas irá custar 50kk não é nada.") say_reward("Que dano queres?") local a = select ( "Bonus 1" , "bonus 2" , "Cancelar" ) if a == 3 then return end else a == 1 then if pc . gold >= 50000000 then pc . changegold ( -50000000 ) pc . add sk 1 ( id bonus , quantidade) if pc . gold < 10000000 then else say("Não tens dinheiros suficiente.") end else a == 2 then if pc . gold >= 50000000 then pc . changegold ( -50000000 ) pc . add sk 1 (id bonus , quantidade) if pc . gold < 10000000 then else say("Não tens dinheiros suficiente.") end else a == 3 then end end opa nao testei isto por isso faz backup antes de testares não finciona da erro no "sk" Share this post Link to post Share on other sites
Boas pessoal quero meter um bonus num item por quest mas estou a ter dificuldades, alguem que perceba de quests que ajude ai pf:
ta ai a quest:
quest item_bonus begin
state start begin
when 40008.use begin
affect.add_collect(apply.INT, 50*60*24*365*60)
end
end
end
ou então digam ai uma forma de como por 4 bonus num item.
http://cyber-gamers.org/public/style_emoticons/default/451960.gif para quem conseguir por isto a funcionar.
Edited by Kenny (see edit history)Share this post
Link to post
Share on other sites