Hey everyone,
I'm having a difficult time getting an Undead state (HP recover deals damage instead) to work. I'm using ATT_Turan's Eval Tags, which are a great alternative to Visustella.
I've tried this one, which I found on this thread for the Undead state there. I don't think I ever got it working when I used Visustella anyway.
and this one because it seems like it might make sense?
Tried them both in my own project AND in a fresh clean one and neither do anything it seems. I'm using <Action Reaction Eval> because it'll apply the code on a successful hit before the effect of the hit is applied.
Like always, thanks for the assistance!
I'm having a difficult time getting an Undead state (HP recover deals damage instead) to work. I'm using ATT_Turan's Eval Tags, which are a great alternative to Visustella.
I've tried this one, which I found on this thread for the Undead state there. I don't think I ever got it working when I used Visustella anyway.
Code:
<Action Reaction Eval>
if (this.isHpRecover()) {
value = Math.abs(value);
}
</Action Reaction Eval>
and this one because it seems like it might make sense?
Code:
<Action Reaction Eval>
if (this.isHpRecover() && value > 0){
value = -value;}
</Action Reaction Eval>
Tried them both in my own project AND in a fresh clean one and neither do anything it seems. I'm using <Action Reaction Eval> because it'll apply the code on a successful hit before the effect of the hit is applied.
Like always, thanks for the assistance!