grilo13
RAWR
Hey, I'd like to know if is safe to add something like that on login.lua (creaturescripts) to count how many enable addons (Addon 1 and 2) a player have:
1st, I guess it won't count an addon if player gets it in "a quest" and don't logout/login
2nd, I don't know if I need to use that or to verify female outfits too
It's just an idea, I want to use addon bonuses by the count of addons a player have. Like:
1 addon = +10HP +10MP
2 addons = +1 shield
etc
Thanks in advance for any help
Lua:
if(player:hasOutfit(128, 3) or player:hasOutfit(136, 3)) then
add this to a var
if(player:hasOutfit(129, 3) or player:hasOutfit(137, 3)) then
add this to a var
1st, I guess it won't count an addon if player gets it in "a quest" and don't logout/login
2nd, I don't know if I need to use that or to verify female outfits too
It's just an idea, I want to use addon bonuses by the count of addons a player have. Like:
1 addon = +10HP +10MP
2 addons = +1 shield
etc
Thanks in advance for any help