Counter Attack State [VX]

Like the reflect mechanic in tankentai side view battle, i need a state that triggers a skill (ID) when attacked.
Requests which are only "like [insert game name here]" are less likely to be answered as it will only mean something to those who have used that particular script.

Please edit your post to describe as fully and accurately as possible what it is you want, and how it differs from the ordinary Reflect skill. You also do not specify if this is a Magic Reflect effect that you want, a Physical Reflect (like the 'Thorn' effect) or both.

Original thread: https://forums.rpgmakerweb.com/threads/counter-attack-state-vx.84956/