So i tried making a boss fight which transitions into it's second form when it hits 10%HP, but the boss's turn resets and starts using skills and moves that require it to have 10% HP to even use (even though i already recover all enemy HP in the troop event before the second form fight begin)
is there a way to prevent this?
for more details, the second form has three different phase (100% HP, 60% HP, and 20% HP)
So I can't really say what's causing the skill issue without seeing the setup.
But maybe you can use switches instead? The boss reaches 10% HP, turn switch on, as I know that's a condition for a skill to be used.
and if the boss transform outside battle, than I got a plugin for it.
but you can also store the boss HP inside a variable, than use
Olivia MetaControl plugin to restore/replace the bosses HP with the variable on.
so the HP stay equal as it was before.
but otherwise, Solar_Flare has the solution that can work out or explain
better what your target is.
the plugin I have for outside that saves the boss HP (3 transformations), was made
for someone so its not public plugin which was built a few years back.
Hmmm yeah, this is the transform:
Game_Enemy.prototype.transform = function(enemyId) {
var name = this.originalName();
this._enemyId = enemyId;
if (this.originalName() !== name) {
this._letter = '';
this._plural = false;
}
this.refresh();
if (this.numActions() > 0) {
this.makeActions();
}
};
So if you transform it at 10% hp, it makes the new actions immediately with that hp and it doesn't help if you recover it after that. At least I think so.
EDIT: You can heal the dude before the transform