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

Regeneration code again

Hindori

New Member
Joined
Jan 24, 2009
Messages
157
Reaction score
2
Now i need help with function in tfs 0.3.4pl2 (8.42)

I want to hp gain was counted from formula (hpgainamounts + skilldefense(what we have) * razyhp) but i don't now what function is to read what defence lvl player have. So my request is to change this code :
condition->setParam(CONDITIONPARAM_HEALTHGAIN, vocation->getHealthGainAmount() * vocation->getRazyHp());
for code from my formula.
 
Back
Top