If I want the player to fight a party member as an enemy
is there a way I could put that party member's stats as that enemy's?
is there a way I could put that party member's stats as that enemy's?
var actor = $gameActors.actor(your actor ID here);
var stats = [actor.hp, actor.mp, actor.atk, actor.def, actor.mdf, actor.agi, actor.luk];
$dataEnemies[ID of your party member monster].params = stats;
var actor = $gameActors.actor(22);
var stats = [actor.hp, actor.mp, actor.atk, actor.def, actor.mdf, actor.agi, actor.luk];
$dataEnemies[18].params = stats;
Original thread: https://forums.rpgmakerweb.com/threads/making-the-enemy-have-the-same-stats-as-an-actor.75382/