Sequence of application of skills.

I do not understand how to implement the sequence of skills.
Skills are created through events.
For example, when the character consistently applies "Direct hit", "Direct hit", "Strike from below," then after the third hit, there will be bonus damage. But if the character interrupts the sequence using another skill, it all starts from the beginning.


First I thought it would be easy. Multiple variables, multiple switches, possibly a pair of arrays. But everything turned out to be much more complicated. I can not hide the interruption of the sequence, and I can not trace the sequence itself.
I need your help.

Sorry for my english. This language is not my native language.
if you need help with such an event, we need to see screenshots of the event before we can help.

yes, eventing an action battle system is possible - but it is a lot of work and it requires very careful handling with variables.
And to help, we need to see what you've done so far.
I would just understand the algorithm of actions, and then I myself can continue.
The combat system is not that complicated. I'm just planning to step-by-step fight one-on-one. With the simplest system of characteristics of "strength, agility, intelligence" that affect the damage, armor and the amount of magical energy.
And it's easy to cope with all this, but to implement combo techniques is a problem for me.
the algorithm itself is extremely simple - you just have to count up a variable when the same sort of action was used and set it to zero if not.
But it requires too much detail to variables from your project that we do not know, so the fastest way to get to the error is to show us a screenshot of one example event from your project.

If you don't know how to attach a screenshot, simply ask - but without it helping you is difficult, and we can't make your game for you.
But I make all the systems for my game first in an empty project, and only then I transfer them to my game and begin to test compatibility. So it's easier for me not to get confused in variables and switches, so I already have 800+ pieces.
then give us the screenshot from the empty project - it's the structure for variables that counts, not the exact number which is what.
At me the editor is translated into Russian, on it instead of a screenshot I spread an empty project with a basis for a combat system.
https://yadi.sk/d/y5MRzjrK3GZUSo

Original thread: https://forums.rpgmakerweb.com/threads/sequence-of-application-of-skills.76707/