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

runonhealth

ConAn Edujawa

Member
Joined
Feb 23, 2015
Messages
457
Reaction score
17
hello guys
how i can change runonhealth to % not to number of health
<flag runonhealth="2"/>
when monster get 2% hp run away
tfs 0.4
 
I suppose flag runonhealth="2" means that the monster will be running when it has 2 hitpoints.
If you'd want the monster to run on 2% you'd have to calucated the % of the monster on full hp and devide/100*2=hp when monster has 2%.
I suppose...
 
I suppose flag runonhealth="2" means that the monster will be running when it has 2 hitpoints.
If you'd want the monster to run on 2% you'd have to calucated the % of the monster on full hp and devide/100*2=hp when monster has 2%.
I suppose...
where i can calucated ? in monster xml or source
 
It probably would be easier for you to calcute % manually instead of Edit the source.
Just my thoughts.
 
Ok, then I cannot help you.. sorry
That probably has to be configured in a way I cannot..
 
Back
Top