A wait command or making AGI matter more

For those of who've played Heroes of Might and Magic 3, 4, 6 or especially 7, you know where I'm going with this.

I see very few turn based RPGs implement the option to strategically defer your action during a round to later, specifically in default or standard turn battles by Yanfly nomenclature. (Or maybe I'm just living under a rock since I'm busy with work lately.) Typically the round always goes fastest to slowest and that's it.

Enter the wait command. In Heroes of Might and Magic, the wait command inverted the initiative of a unit during that combat round. So when waiting, the fastest unit can opt to go last in the round. If multiple units waited, they acted from slowest to fastest after those who did not wait. The slowest unit was stuck acting when it had the opportunity. Whoever has the faster units could dictate the turn order.

Let's say a healer has the first move. Unless the healer has something else to do aside from healing, going first while healing is not necessary wastes that action. But what if by winning the initiative, that same healer has the option to wait, going last to heal after forcing everyone else to act first? Furthermore, after acting last in round one, the healer may immediately act again at the start of round two. The healer can get two heals off in a row before anyone else can act. (Effects that debuff or negate healing would be a possible counter to this.)

Or what if the enemy has a pesky healer, but you have a burst damage character winning initiative? That damage dealer can wait, force the enemy healer to act first, then get off two actions before the healer may act again. (Absorption barriers, reactive heals and damage redirects would be a possible counter to this.)

It would be very important to balance the opportunity cost of taking AGI over other stats with a wait command though.

This seems like something simple to me, but I will admit ignorance of how game engines and coding in general works. Is this something difficult to accomplish? Heroes of Might and Magic 3 has been out nearly 20 years, and the AI still derps using the wait command there. Would this be confusing to players? Heroes of Might and Magic isn't exactly the most newbie friendly game series out there. Are there examples of this that I'm just flat out missing? Let me know what you think. If you have something like this working, I'd love to play it.

Edit: Clarified intent in final paragraph.
I've toyed with the notion of the "guard" skill giving like a +50% agility buff for the next turn. Seems like it has potential, curious what other people think of this.
The Default system don't give much userfurness to Agi. I'm using Yanfly STB and it's even worse. Only ATB and CTB give Agi a major role, but sadly CTB (My fav) don't have support anymore.

In my game AGI affects hit rate, evation, cric, dmg with small weapons, dmg with some skills and dmg with bows. So it's not that bad, I think Luck is by far the most useless.

I did something similar with Luck - Momento Buff: When battle start each combatent gains a buff basead in his Luck. (100 + luck / 10).

I think Yanfly STB allow the "Pass action", but I'm not sure sinnce I'm not currently in my own PC.
@Tarelther

You have asked how this might be done. As an implementation question, I need to move this thread to the Support forum for the engine you are using. However, you do not mention which it is, nor have you included it in the information under your avatar. Please post and specify which engine it is, and I would recommend you edit the info under your avatar to include it for future reference.
I very much like this idea of allowing faster battlers to determine whether they move before or after the slower battlers each turn. In most games, high Agility often seems like as much a disadvantage as an advantage in long battles (where getting one extra action over the course of combat doesn't represent a huge shift in power).

The timing of Heals, like you mentioned, is often the big one that you may want to wait for - skills like disables are usually best used as quickly as possible, and double-edged-sword skills like a powerful attack that decreases your own defense for a couple turns is usually something I handle by altering the Speed of the skill (as an extreme negative number, since players would always want to use this as late in the turn as possible).

Waits could also be useful for teammates of any Agility levels, since you might want to apply a debuff with one character and then take advantage of that debuff with another character, or have a character use an 'all enemies' skill to finish off a weak foe in a larger mob before another character uses a '1 random enemy' skill that might have hit that already-weak enemy.

Unless your game has a very competitive, PvP kind of feel to it, I wouldn't worry too much about implementing an AI that can make good use of Waits. Just accept that it's a tool that players can use to their strategic advantage, and only have the enemies use it very occasionally (even if it's done completely at random).

The one drawback of such a system is that it will slow down the feel of combat, requiring your player to spend twice the amount of time inputting commands (first the Wait, then the intended action) for any character that wants to Wait.

I'm planning to add a range of 'Wait' commands (such as 'Wait 5 seconds', 'Wait until any enemy acts', and 'Wait until a specific status wears off') to an ATB kind of system that I'm making, which is mechanically very different but aims to achieve some of the same goals you're describing (avoiding situations where a characters get screwed by having high AGI and being forced to act first).

The advantage of waiting in such an ATB system is that you can better time the application of damage, states, defenses, heals, etc. The disadvantage of waiting is that your ATB is not filling up while you wait (it's already full), so you are taking fewer total actions over the course of the battle. I feel like it will be a good feature, although I'm worried it could theoretically lead to endless stalemates of 'Waits' where both a player and an enemy want to wait until the other one moves. In your system the tie is broken by forcing the slower battler to move first, which I think is very cool. But in my system I'm not sure how to resolve this.

@Tarelther

You have asked how this might be done. As an implementation question, I need to move this thread to the Support forum for the engine you are using. However, you do not mention which it is, nor have you included it in the information under your avatar. Please post and specify which engine it is, and I would recommend you edit the info under your avatar to include it for future reference.

I guess @Tarelther can weigh in on what his/her intent was, but I see 3+ paragraphs in the OP about the strategy, counterplay, and balance aspects of allowing fast battlers to 'wait', and just a single line ("Is this difficult to accomplish?") that implies a desire to talk about how to implement it in RPG Maker. Are you sure this is something that isn't suited for GMD?
@Wavelength It is at best ambiguous. It could be that the OP gave a full description of what they are trying to accomplish so that suggestions on how this might be done will be relevant to their needs. Until the OP comes back here and explains what they're after, there's nothing I can do either way except join in the wait.
The reason I do not have a maker listed under my lack of avatar is I have no project being made, at least as of right now. I was wondering more about why something like a wait command isn't common as it seems to be a simple way of making AGI worth something, a common issue around here. The reference the constant difficulty of getting the AI to actually use it properly in the Heroes of Might and Magic series as a possible explanation was an attempt to see if what I see as relatively simple, perhaps is not so. My apologies if it seemed otherwise. I will clarify this in the original post.
@Tarelther
What you explained in your original post is essentially the Charge Turn Battle System or CTB.

The key problem with AI to use "wait" properly in a CTB is that "waiting" is fundamentally subjective. As to say, is giving up on a reward now (damage now, etc) for a chance (assuming you are not fighting a training dummy, is not guarantee) for a bigger pay off later worth it, is completely subjective to the eyes of the beholder. Programming an AI to make "the right choice" every time to everyone is impossible, practically. However, you can imitate it by using a complex AI trees (complex enough to fool an average human) to make "the right choice" most of the time to most people. One sure fire way to fix this would to not allow both the AI and the players to do "wait".

For my own system, I used a combination of CTB and ATB (Active Time Battle System) by stripping away what I view as each of the system's weaknesses. The system is essentially an ATB that is instantly filled and encompassed by a CTB to prevent runaway agility, such as a character taking three turns before the enemy gets one. Instead of draining the ATB for a turn, each action cost "ATB points" so "waiting" is basically taking fewer actions that turn. When an AI is prevented from using an action by "unforeseen forces", the AI "waited" by the system's nature, and the points are saved up for a possible stronger attack down the line. A turn is never lost, only saved. The AI is predictable but not too much. The idea was to hide the "wait" command within the system to reduce complexity while keeping the depth. The full system is actually more complex than this, but this is the main idea.

I also don't have to create a tutorial for a "wait" command which is a huge plus in my book.

TLDR: Psychology, Philosophy, and laziness.

Original thread: https://forums.rpgmakerweb.com/threads/a-wait-command-or-making-agi-matter-more.92914/