I'm no sure if I'm posting this is the proper section but maybe I can get some help regardless.
So I'm trying to make a skill that can only be used when the Actors MHP is at 25% or below.
I have the mechanics for the skill set up the way I want it but I have no JS experience so I was
wondering if there is a script of a plugin that could help me with this?
I have Yanfly's Skill Core Plugin and I've tried
<Custom Show Eval>
if (user.hp <= 0.25) {
condition = true;
} else {
condition = false;
}
</Custom Show Eval>
But this didn't work. Any helpful ideas?
So I'm trying to make a skill that can only be used when the Actors MHP is at 25% or below.
I have the mechanics for the skill set up the way I want it but I have no JS experience so I was
wondering if there is a script of a plugin that could help me with this?
I have Yanfly's Skill Core Plugin and I've tried
<Custom Show Eval>
if (user.hp <= 0.25) {
condition = true;
} else {
condition = false;
}
</Custom Show Eval>
But this didn't work. Any helpful ideas?