Hello people!
I'm creating a skill called Reverse using the Yanfly plugins.
It is a state where Damage causes healing.
I'm trying to use this note in the State:
<Custom React Effect>
// Check if the action is a damage skill.
if (this.isHpDamage()) {
// If it is, let's convert the value into cure!
var heal = Math.floor(target.mhp * rate);
}
</Custom React Effect>
But it does not work, can you help me solve. Thank you!
I'm creating a skill called Reverse using the Yanfly plugins.
It is a state where Damage causes healing.
I'm trying to use this note in the State:
<Custom React Effect>
// Check if the action is a damage skill.
if (this.isHpDamage()) {
// If it is, let's convert the value into cure!
var heal = Math.floor(target.mhp * rate);
}
</Custom React Effect>
But it does not work, can you help me solve. Thank you!