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

Lua maxhealthpercent/mana OnLogin

DukeeH

Active Member
Joined
Dec 6, 2010
Messages
550
Solutions
3
Reaction score
39
Hello, i've a problem with:
maxhealthpercent
maxmanapercent
When a character relogs or die, he logs in with the normal amount of hp/mana instead of the extra percentage.
Is there any lua or c++ change that can fix it?

Thanks :D
 
Not that I'm a good scripter but, maybe a script that calculates the HP with the extra % and applies that to the char who has the item.

So for example with 20%: current hp * 1.20 = something. and then it gives the extra hp. And register that in login.lua.
 
Back
Top