So I created a "Cover Ally" type of effect where my character will use the Substitute trait on an ally but for some reason everytime he covers an attack from a hit he gets shifted downward, has anyone encountered this type of issue before? How do I keep him from shifting down? I used the following code to ignore the HP requirement for Substitute,
BattleManager.checkSubstitute = function(target) {
return !this._action.isCertainHit();
};
BattleManager.checkSubstitute = function(target) {
return !this._action.isCertainHit();
};