LucasFerraz
Systems Analyst
I made this NPC for War Servers.
Thank you to VirrageS and Cykotitan.
His functions:
- Buff Magic level
- Buff Melee Skills
- Buff Shielding
- Buff Distane Fighting
- Buff Speed of character
- Buff regeneration of player
- Player can choose only one per time
v2.2
http://pastebin.com/MXZmr5d1
I recommend you use this onLogin
If player with buff actived logout/die he will not lose storage so he/she will not be able to buy buff again. If you use this script below it will solve that.
Some time I've been building a war server. When I finish I'll post in forum.
If someone knows how to make this NPC better please post here.
Thank you to VirrageS and Cykotitan.
His functions:
- Buff Magic level
- Buff Melee Skills
- Buff Shielding
- Buff Distane Fighting
- Buff Speed of character
- Buff regeneration of player
- Player can choose only one per time
v2.2
http://pastebin.com/MXZmr5d1
I recommend you use this onLogin
If player with buff actived logout/die he will not lose storage so he/she will not be able to buy buff again. If you use this script below it will solve that.
Code:
function onLogin(cid)
if isPlayer(cid) then
setPlayerStorageValue(cid, 77700, -1)
end
return true
end
If someone knows how to make this NPC better please post here.