MV Looking for a way to make counter attack use a different damage formula

In my game, I use SRD sequence input to add some qte action for both attacking and defending, and I want to make an ability that allows a counter attack, however the issue is that it rpgmaker uses skill #0001, which is the standard attack. However it seems as if it is basically impossible to perform an input due to the counter triggering right after an attack, causing the counter to do 0 damage.

Ik there is a yanfly plugin that allows me to change some stuff related to counter, however it is a paid plugin.
Yanfly's counter control might satisfy you.
Ik there is a yanfly plugin that allows me to change some stuff related to counter, however it is a paid plugin.
Yanfly's counter control might satisfy you.
Yeah...

To answer the question: If you're already using the sequence input, you can simply make a conditional branch in your action sequence to perform a counter attack if the player has X state (or however else your counter works).

You can then use action effect: user (IIRC) to either dmg the attacker with its own dmg, or you could use an eval: script to use any other formula of dmg you'd like to apply.

Going a step further, with the power of action sequencing you can actually have the target swing their weapon at the enemy in retaliation instead of just some dmg popping up.

Original thread: https://forums.rpgmakerweb.com/threads/looking-for-a-way-to-make-counter-attack-use-a-different-damage-formula.182316/