Okay I'm like 75% sure this is in the wrong thread but for the life of me I can't seem to find where this should go, as it is mostly just a hypothetical question, I don't need it for my current project, and I don't really have the skills or know-how to make it myself.
So anyway my question is, is there a way to have the a counter-attacking system in a game like Moghunters Chain actions plugin where the player has to input button commands within a time limit and failure to do so means they take damage, while success means their opponents attack fails and they get hurt?
I think this is probably more a Mechanics Design discussion, though I agree it's not 100% clear, so
I'm moving this thread to Game Mechanics Design
Yes there is. But it's advanced-level stuff and requires some scripting.
Common Events can be called from anywhere in the script, such as the Counterattack methods (in Ace, for example, it involves saving the current "reserved" common event number, reserving your target "timed hits"-style common event, processing this common event, and then reserving the original one), so you could do something like display pictures onscreen and check for player input. Check the "Script Call" topic that's stickied in the appropriate Maker's Help subforum. Alternatively, you could do the whole entire thing inside the code if you're comfortable enough with coding.
You could also add some code into Yanfly's Action Sequence plugins, if you're using RPG Maker MV, and then use Action Sequence lines to actually handle the results (like showing animations and changing damage amounts). I recently made a similar plugin for a client using this technique, and it's not exceedingly difficult once you get familiar with the plugin (assuming you're competent at JS), but out of respect for the confidentiality of that project, I'm not willing to share any large amounts of the code I used.
It's possible you can also do some scripting that feeds directly into Moghunter's Chain system (assuming that the Chain system is available for the same Maker you're using). I have no idea. It could very well be doable.
Finally, you'll have to consider what you want the behavior to be in edge cases - for instance, the defender is Paralyzed, the hostile skill didn't do any damage to start with (e.g. a Poison skill), or the attack has multiple hits.
Long story short - this is worth doing if it's going to be an important feature in your combat system, but you'll need considerable technical know-how, or you'll need to recruit/hire someone who does have it.