Battle Formation[Beta]

Discussion in 'JS Plugin Releases (RMMV)' started by Lecode, Nov 22, 2015.

  1. Karindanslav

    Karindanslav Villager Member

    Messages:
    10
    Likes Received:
    0
    First Language:
    Portuguese
    Adding immunity, states and enabling/disabling skills based on formation position would be terrific.

    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();};
     
    Last edited by a moderator: Dec 23, 2015
    #21
  2. 99potions

    99potions Dems Pixels Doe Member

    Messages:
    6
    Likes Received:
    0
    Location:
    Arizona, USA
    First Language:
    English
    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
     
    #22

Share This Page