Custom State Triggers

When RPG Maker MV first came out, I remember there was an old plugin that allowed you to configure
custom triggers for states like maybe an Actor getting a permanent wound state when his HP reaches a certain percentage or receives
a certain amount of damage.

Now I can't seem to find it anyway and unless there is already another one out there I've failed to find,
I think this plugin needs to be made.
Try this plugin or this plugin.
You'll probably need javascript to do anything you really want though.

Original thread: https://forums.rpgmakerweb.com/threads/custom-state-triggers.82490/