[solved] ATB Timing-based combos.

I would like to preface this by acknowledging the unavoidable fact that I am likely well in over my head.

I want to have an ATB system where if two attacks happen to land within a short time of each other, then the second attack will gain a slight damage boost. I want this to be able to be chained 4 times, with the boost getting higher every time. One problem is I can't really think of a way to do this. My first thought would be using a status with a timer attached. If a certain amount of time passed, , but this doesn't seem to be easily possible.

Anyone know a potential way to do this sort of thing? Either through plugins, or common events?

Thanks in advance.

Sidenote, if anyone knows of any published games that do this sort of thing already, let me know, I'd like to use them for inspiration.
Okay, I had an Idea on how to implement this using a unique state, but i am DEFINITELY doing SOMETHING wrong here, cuz it just... doesn't. No matter whether I used Waits or Timers, the end result of this was always, invariably, the thing just... freezing? The idea here is a status effect that is applied by most regular attacks, with an accompanying event that would automatically remove it after a certain amount of time passed. I say, time not turns, because I want timing attacks properly to combo into eachother to be the primary mechanic, and doing things based on time would likely give me finer control. I tried a lot of things to fix this, but nothing quite... worked?
1703351632823.png
Your event appears to be set to "Autorun" - that means it will lock the player out of doing anything whilst it's active. You probably want to try it as a "Parallel" instead, which will let the player do things whilst the event is running. Also, Autoruns and Parallels loop by default, so your code is going to continually loop back and reset your timer to 3 seconds, and it will never get down to 0. The Wait command might be better for you here instead of a Timer, as that can wait for the 3 seconds (or 180 frames) and then move on to the next instruction (lowering the combo count).
... Okay, nevermind, I might just straight up be an idiot. The Yanfly Battle Engine that almost everyone and their grandmother uses, has a parameter that converts Turn times to Tick times allowing for tick based status effects when using ATB and CTB. I somehow didn't notice this while looking over its parameters. It doesn't as far as I know, allow these on a per-status basis, but oh well.

thanks for your help anyways, @Showsni, very much appreciated.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/solved-atb-timing-based-combos.163998/