• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

TFS 0.X player getting extra health and mana per level depending on storage

Lurk

Active Member
Joined
Dec 4, 2017
Messages
336
Reaction score
48
I'm using tfs 0.4 rev 3777 (Fir3element/3777 (https://github.com/Fir3element/3777)) and I'd like to know how I can make it so a player gets extra hp and health based on a storage value

for example:
Knights gain 5 mana and 20 health per level (just like in vocations.xml) if the storage value is 0
Knights gain 5+2 mana and 20+2 health per level if the storage value is 1
Knights gain 5+4 mana and 20+4 health per level if the storage value is 2

I figure I can make and onAdvance script to do this but I'd like a smarter solution, source if possible
can anyone help?
 
Back
Top