Any way to delay any action in battle?

Hey there,
I think it's a weird question. I found nothing on google and tbh I don't know what keywords exactly I should enter xD
Is there any way to delay any action in battle if the hero has a certain debuff?
Let's say you get the debuff "lag". So ANY action you choose, if it's default attack, magic or whatever, should be delayed one turn. How would you set this up? If there's no way with the engine itself, maybe Yanfly Battle Engine Core or another plugin could help?
Thanks in advance,
Zion
Action order in a single battle turn is for each action (battler.agi + skill.speed + random%) and then sorted highest to lowest.

So giving an actor an agillity reduction will cause that actor to act later in the turn, but otherwise not change the action itself.
Yeah, thanks! I already thought about changing the agi. But it would not delay for a whole turn, so it would just be a workaround if there is no better solution.
there is nothing that can delay for a full turn in the default engine, because the selection phase comes between.
by default you can only block an action and the player can chose the action in the next turn, which will then be executed in the next turn.

you'll need a plugin changing the engine to enable that, and I don't think even yanfly's plugins can handle that because you would need to store the chosen action for more than one turn.
But a custom plugin that creates this option will work, you can either request or commission it.
You could theoretically do it with Yanfly's Buffs & States; put code into the applying of the state that stores the selected action in a variable then seals it for that turn.

The trick would be the following turn, unless you're okay with them doing it as a force action at the beginning of the turn, having them use it as their selected action might require some convolution.

I don't think that's me volunteering to figure that code out for you.
Okay, I see. Thank you, you two :LZSsmile: I was afraid the default engine can't handle this, but it was worth the question.
I'll figure something out and try out the plugin you mentioned. If nothing works, I'll go with the lower agi.

Original thread: https://forums.rpgmakerweb.com/threads/any-way-to-delay-any-action-in-battle.167419/