MV YEP Auto passive effect trigger by healing

Hello everybody

So I've been using the Yep Auto passive state to trigger sound effects when my characters take damage.

By giving the actors a state, with this note tag.


State: "A1 taking damage"
<Custom React Effect>
if (this.isPhysical() || this.isMagical())
{ $gameTemp.reserveCommonEvent(122); }
</Custom React Effect>

But now I'm trying to do the trigger for when healing is received.

I've tried it, giving the actors another state with this pasted inside the state's note tags.




State: "A1 Healing"

<Custom React Effect>
if (this.isHeal())
{ $gameTemp.reserveCommonEvent(126); }
</Custom React Effect>

But no matter what I've tried, the healing one won't work.

I've searched the net and haven't been able to find any solutions to this.



The common events work as I've tested it with an event triggering the CE.
if (this.isHeal())
isRecover()
That worked perfectly, thanks you Robro.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/yep-auto-passive-effect-trigger-by-healing.183769/