Mirror fight

My party is forced to fight their mirror.

(my game has 23 chars, of which you can have 4 in your party - if this matters)

Mirror fight would be an exact duplicate of your group.

I can think of a couple ways to do this, but are there commands to set stats of Enemies to certain Actors? I think this is the most important question to answer.

If you have other suggestions for how this might be more elegant, please advised.


Thank you in advance,

GEA
For replicating your actual group, you create 4 template enemies, empty, plus your actual enemies. And then using this script call at turn 0 at battle:
$gameParty.battleMembers().contains($gameActors.actor(ActorId))
You check for all actors, and then based on the actor that is on the battle party, you replace (transform enemy) the template enemy with their mirror (not elegant but works).
Though you might have a problem with what would be the enemy to replace

As for your second question, i don't understand it quite but you can use YEP_EnemyLevels and set <Custom Parameter stat Formula> for each enemy (requires a bit of javascript) to the gameActor the enemy is the mirror of.

It would be something like this:
<Custom Parameter stat Formula>
$gameActors.actor(1).atk(replace with desired stat) + 0;
</Custom Parameter Formula>

The second part might not work as i haven't tried it, but the first works as intended.
I have on my to-do list a task to make a tutorial to do this sort of thing. If I get it done in the next couple of weeks I'll let you know.

Original thread: https://forums.rpgmakerweb.com/threads/mirror-fight.120246/