Battle Formation[Beta]

Changed the status of the plugin to Beta, the time to make a patch for yanfly's plugins and at least add

more bonuses. (immunity, states, skills)
Adding immunity, states and enabling/disabling skills based on formation position would be terrific.

2. Is not fully compatible with Yanfly's Battle Engine Core.
If you're referring to the position of the actors in battle, it is because both this plugin and Battle Engine Core alias the "Sprite_Actor.prototype.setActorHome" function (or method, I don't know a lot of JS). It can be solved by deleting the following bit of code, or rather, making it a comment by adding "/*" before it and "*/" after it. The code belongs to Battle Engine Core.

Code:
Sprite_Actor.prototype.setActorHome = function(index) {    var screenWidth = Graphics.boxWidth;    var screenHeight = Graphics.boxHeight;    var maxSize = $gameParty.maxBattleMembers();    var partySize = $gameParty.battleMembers().length;    var statusHeight = eval(Yanfly.Param.BECCommandRows);    statusHeight *= Window_Base.prototype.lineHeight.call(this);    statusHeight += Window_Base.prototype.standardPadding.call(this) * 2;    if ($gameSystem.isSideView()) {      var homeX = eval(Yanfly.Param.BECHomePosX);      var homeY = eval(Yanfly.Param.BECHomePosY);    } else {      var homeX = eval(Yanfly.Param.BECFrontPosX);      var homeY = eval(Yanfly.Param.BECFrontPosY);    }    this._checkAliveStatus = false;    if ($gameParty.battleMembers()[index]) {      var actor = $gameParty.battleMembers()[index];      if (actor.isAlive()) this._checkAliveStatus = true;    }    this.setHome(homeX, homeY);    this.moveToStartPosition();};
Not sure if this plugin was abandoned, but the work you have done on it so far is quite impressive. Fleshing this out further would be amazing if you choose to come back to it
Could this work with rpg maker MZ?

Original thread: https://forums.rpgmakerweb.com/threads/battle-formation-beta.51136/