• 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!

doPlayerChangeRegeneration(cid, mana/health, percent)

Oskar1121

Excellent OT User
Joined
Jul 15, 2009
Messages
706
Reaction score
713
Location
Poland
Hello, I need a function that changes our regenerate hp / mp, which is set in the file vocations.xml.
PHP:
gainhpticks="6" gainhpamount="1" gainmanaticks="6" gainmanaamount="1"

LUA/C++
For all help thanks.
 
Do not be too much charge the server? LUA addEvent

#edit
Or maybe you could do new function which get values with vocations.xml?
 
read regen values from something else than vocations, may it be storage or anything
and then just create function to modify it

@down:I mean:if easier then edit source, just use storages or new variables insetad of fields in vocations
changing storages is piece of cake right?
 
Last edited:
Back
Top