Creating a fuctioning parry attack!

Hello, sorry if I'm at the wrong place for this but I'm trying to set up a parry system much like in the dark souls series.
The user starts of with preparing to parry at the start of a battle turn. Then when the oponent hits the user with a non-ranged instead of taking damage the user would deal a critical attack. But whenever I do so the game sais nothing happens and the user still takes damage.
afbeelding_2023-02-09_132621319.png
afbeelding_2023-02-09_132805862.png
You may want to try having it removed in 2 Actions. Since the skill is giving you this state during the actor's action, at the end of that action states will count down and the parry at 1 will go away.
You may want to try having it removed in 2 Actions. Since the skill is giving you this state during the actor's action, at the end of that action states will count down and the parry at 1 will go away.
Thank you for the help it now triggers on all the physical attacks. but fails on everything else such as special attacks.
Yes, in the default engine counter attacks only respond to skills of type Physical Hit.

If you want to get more thorough, you might want to check out Yanfly's Counter Control. You can have a lot of detailed control with it.

Original thread: https://forums.rpgmakerweb.com/threads/creating-a-fuctioning-parry-attack.154829/