Enemy to target actor that hit them most recently

Hi all,

Just trying to get my head around this problem that I can't seem to solve.

I'm trying to get an enemy to counter-attack the player that hit them last. The counter-attack in question is a special skill.

Currently, it's set up so that in the battle troop, there is a condition that checks when the enemy is at 75% health, and thus forces an action with the aforementioned skill. As you're all aware, there's no "target last actor to hit user" option - how do people get around this?

Thanks!
Bump.
Bump?

Original thread: https://forums.rpgmakerweb.com/threads/enemy-to-target-actor-that-hit-them-most-recently.107761/