Battle Advantage


Plugin Download


This plugin gives control over the advantage rates and introduce new types of battle advantage besides the default surprise and pre-emptive. They are: sneak attack, back attack, pincer attack and surrounded. This plugin also provides commands to ensure that the next battle will have advantages.


Requires the Victor Engine – Basic Module

Learn how to Install Victor Engine Plugins


Was this useful for you? Consider lending a hand by becoming my patron at Patreon, so I can continue creating content to help you and many other developers.


Advertisements
  1. Is it possible to have the advantage formation shown be a default one?
    Or rather, how to have one advantage trigger at 100%

    Like

  2. Alright, so I’m using this along with Yanfly’s Battle Engine core, and while I’m getting the advantages just fine, the player characters are stuck in their default position instead of appearing in the positions normally dictated by the type of advantage. This doesn’t affect the enemy battlers, only players.

    Like

  3. Is it possible to make a skill that can change the advantage state? Something like a maneuver for a tactician actor to undo “surrounded” and/or induce “pincer?”

    Like

  4. Hello! Is there an editable line in the plugin that allows you to change the starting position of your units for a pincer attack? What I found is that when I initiate a pincer attack my units are placed higher up on the battle screen then they usually are.

    Like

    • This section is the part that control the battlers positions during pincers attacks:

          Sprite_Actor.prototype.pincerAttackPosition = function(x, y) {
              var party = $gameParty.members();
              var index = party.indexOf(this._actor);
              var ox = x;
              var gw = Graphics.boxWidth;
              var ni = Math.floor(index / 2)
              var nx = Math.abs(ox < gw / 2 ? ox / 4 : (gw - ox) / 4)
              var px = Math.floor(index % 2 === 0 ? gw - 96 - nx + ni * 32 : 96 + nx - ni * 32);
              var py = Math.floor(280 + ni * 48);
              this.startMove(0, 0, 0)
              VictorEngine.BattleAdvantage.setHome.call(this, px, py);
              this.updatePosition();
              this._actor.turnTowardCenter();
              this.moveToStartPosition();
          };

      The specific changes will depend on where exactly you want the battlers.

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: