Use Skill Automation in Battle ?

So is it possible to do the following ? :

Enemy 1 Attacks
Actor 1 drops to below 25% HP
If Actor 1 drops to below 25% HP, Actor 1 uses Skill 1 instantly, targetable and all like a normal skill.
If you're using one of the Time Progress battle systems, then you could try making a troop event with:
  • Condition - Actor HP (1) <= 25%.

  • Span - depends how often you want it to be able to trigger:
    • Turn = max once per turn,
    • Battle = max once per battle.

  • Contents - a Script command with this in it: $gameActors.actor(1)._tpbChargeTime = 1;
Alternatively you could try it in a common event attached to the skill.

[Edit: oh, this gives them a turn immediately but doesn't actually force a specific skill.]

Otherwise I think you'll need a plugin of some sort.
If you're using one of the Time Progress battle systems, then you could try making a troop event with:
  • Condition - Actor HP (1) <= 25%.

  • Span - depends how often you want it to be able to trigger:
    • Turn = max once per turn,
    • Battle = max once per battle.

  • Contents - a Script command with this in it: $gameActors.actor(1)._tpbChargeTime = 1;
Alternatively you could try it in a common event attached to the skill.

Otherwise I think you'll need a plugin of some sort.
Gocha, yeah it's turn based so a plugin is probably required.

Original thread: https://forums.rpgmakerweb.com/threads/use-skill-automation-in-battle.156947/