Yanfly ATB Bar modification: skill charge

I’ve tried to tinker with this, and have gotten kinda/sorta close to what I want, but I can’t seem to get the effect I want.

Essentially, I want to change when and why the enemy ATB bar appears. Personally, I’d rather keep the charge between turns somewhat ambiguous, as I feel it’s distracting and not entirely important to see how fast an enemy’s ATB bar is charging. Ditto for weaker, standard attacks that charge up quickly.

Instead, I would like to make the ATB bar appear depending on which skill the enemy is using, and then disappear again once the skill has been executed. Also, I think it’d be neat if the bar was labeled with the skill name, to indicate what the enemy is doing. And maybe even an animation starts to play on the enemy, just to make it even cooler.

My reasons for this?

For one, the appearance of the ATB can serve as sort of a warning to the player that a big attack is coming up, and possibly give them a chance to respond before the bar fills up.

So say for instance you’re fighting a dragon.

Turn 1: Dragon rushes forward, and swipes Harold with his claws. Deals some hefty damage, but nothing that can’t be fixed with a potion.

Turn 2: Dragon flaps his wings, and causes minor wind damage to all party members. Nothing to serious yet.

Turn 3: An animation starts to play on the dragon, and an ATB bar labeled “Dragon Breath” appears above the enemy. The bar starts to fill up.

At this point, assuming the player has high enough agility, they can use their next turn to try and stop or mitigate the damage of “Dragon Breath”... maybe casting a Shell type spell, enfeebling the enemy, using a Stun type skill, or ensuring everyone one’s HP is full.

There’s a variety of things that could be done with this, and it even gives some justification to overpowered skills, since the dev could give the skill a ridiculous charge up time - so in effect you could do something like forcing an enemy to start using a “game over skill” at 20% HP, at which point the player needs to just go all out and kill the enemy before the ATB bar fills up.

Anyone willing to take a crack at this one?

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-atb-bar-modification-skill-charge.97212/