Damage shield

Example cloak of fire that burns enemy whenever the enemy attacks player for some small amount.
I have messed with counter attack but the player swings as a counter attack. (Is this changeable)
I can probably do it with a common event for every enemy checking a state but want to make sure there isn't an easier way to do this?

Original thread: https://forums.rpgmakerweb.com/threads/damage-shield.131642/