RPG Maker MZ Time Progress Battle Skill

Hi

I want to ask, is it possible to make a skill that doesn't reduce the action gauge completely?
In example a skill that only reduce the gauge by 50% so the user can move again faster.
Or a skill that doesn't reduce the action gauge so the user can move again right after using that skill.
I am not aware of how to do it in the base MZ engine. The visustella ATB plugin (not free) does have that ability though. I was just looking at it this morning...
This isn't really confirmed, but it should work. Probably. Make yourself a micro-plugin with the following code:

Code:
Game_Battler.prototype.clearTpbChargeTime = function() {
    this._tpbState = "charging";
    if (this._tpbChargeTime === 1) this._tpbChargeTime = 0;
};

Now (provided you have access to the formula box or some other way to use javascript code in your skills, you can use the following to set the battler's tpb gauge to something partial:

Code:
a._tpbChargeTime = x

Where 'x' is a floating point value between 0 and less than 1 (1 is the normal turn end value and will cause it to reset to 0 when the battler finishes its action, as per normal behavior. So for an attack skill that only depletes 50% of the battler's tpb:

Code:
a._tpbChargeTime = 0.5; a.atk - b.def
You may want to try this 🙂

For instance,
In example a skill that only reduce the gauge by 50% so the user can move again faster.
This notetag can be used:
Code:
<cooldown battler script val val: 1, -, 0.5>

Or,
Or a skill that doesn't reduce the action gauge so the user can move again right after using that skill.
This notetag can be used:
Code:
<cooldown battler script val val: 1, -, 1>

Original thread: https://forums.rpgmakerweb.com/threads/rpg-maker-mz-time-progress-battle-skill.128114/