is it possible to make an automatic counter attack only when the user is inflicted with a specific status effect ?

i've had this idea for a while in which once you equip a specifc equipment you gain the ability to counter attack only when you get inflicted with a specific status ailment, and you would still be able to counter attack as long as you have that ailment on you
is it possible to achieve this in rpg maker mv ?
simply have that state increase the counter attack rate to above 100%
simply have that state increase the counter attack rate to above 100%
I don't think that's quite right - the OP asked for the ability to come from a combination of a piece of equipment along with a specific state.

Look at Yanfly's Counter Control, you can set whatever conditions you like on countering.

Original thread: https://forums.rpgmakerweb.com/threads/is-it-possible-to-make-an-automatic-counter-attack-only-when-the-user-is-inflicted-with-a-specific-status-effect.164807/