Play common event when receiving critical hit

Hey all,

I am trying to have my actors play a unique se when suffering a critical hit. I have a different scenario working with passive states for when dealing a crit. Each actor has a passive state, and in each of their states it calls a different common event. And in the common event is where i put the unique se.

The passive state looks like this:

<Custom Establish Effect>
if (this.isPhysical() && target.result().hpDamage > 0 && target.result().critical) {
$gameTemp.reserveCommonEvent(17);
}

<Custom Establish Effect>
if (this.isMagical() && target.result().hpDamage > 0 && target.result().critical) {
$gameTemp.reserveCommonEvent(17);
}

So ^that all works great. But I am trying to do the same thing but when receiving a crit. Any ideas?

I've moved this thread to Plugin Support. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/play-common-event-when-receiving-critical-hit.117094/