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

Change health & mana gain (on the fly)

TiuTalk

PHP Developer
Joined
Jan 7, 2009
Messages
89
Reaction score
0
Location
Rio de Janeiro - Brasil
Hi there...

1 - Is there a way to increase the health & mana gain (recovery) of a specific char (cid) with scripts?

2 - Is there a way to increase the health & mana gained per level of a specific char?

Here's what I mean:

In XML/vocations.xml i can see these values:
gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1"
3 - Can i change these values, for just one character "on-the-fly"?

4 - Another question about this part:
gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1"
What mean "gainhpamount" and "gainhpticks"? Same to mana.. And what mean "manamultiplier"? How these values will be used? The character will recover 5hp every 6 seccond?

Is something like this?
Code:
setConditionParam(condition, CONDITION_PARAM_HEALTHGAIN, 20)
setConditionParam(condition, CONDITION_PARAM_HEALTHTICKS, 2000)
I'm running TFS 0.3.4PL2 (Cry)

Thanks
:thumbup:
 
Back
Top