response attacks

how would I go about having an enemy respond with an attack when hit with a specific kind of attack? for example, having an enemy immediately attack if they are hit by a magic spell.
the default mechanism for this is called counter, but that does not make any difference to what skill is countered.
for making the counter dependent on a specific anything, you'll need a script to reprogram the engine.
I believe the script in this topic is what you want...I haven't used this script...so I can't really help you any further...but it doesn't seem very complicated to use (hime's scripts are usually easy to configure)

I believe the script in this topic is what you want...I haven't used this script...so I can't really help you any further...but it doesn't seem very complicated to use (hime's scripts are usually easy to configure)

unfortunately no, I was looking for something that made an enemy only counter when hit with a certain kind of attack. thank you for the help, though.

Original thread: https://forums.rpgmakerweb.com/threads/response-attacks.146963/