Tips & Tricks – Trueshot Aura (WarCraft 3) – RPG Maker MV

Yanfly Engine Plugins is a plugin library made for RPG Maker MV, a wonderful piece of software to help you make that role playing game of your dreams. You can find out more about RPG Maker MV here.

The Trueshot Aura is an aura effect from WarCraft 3. It causes a hero and nearby units to deal more damage with ranged attacks. In RPG Maker, this will make ranged weapons deal more damage. Here’s how to recreate the effect in RPG Maker MV!

You can grab the copy/paste code here: Place the following code into your Aura Effect state’s notebox. Change the values in red to fit your game’s settings.

<Custom Confirm Effect>
// Check if the user is an actor
if (user.isActor()) {
  // Make an empty pool for ranged weapon types.
  var rangedTypes = [];
  // Insert the ranged weapon TYPE ID's here.
  rangedTypes.push(7, 8, 9);
  // Get the user's first weapon.
  var weapon = user.weapons()[0];
  // Check if the weapon exists and if this action is an attack.
  if (weapon && this.isAttack()) {
    // Check if the ranged pool contains the current weapon's weapon type ID.
    if (rangedTypes.contains(weapon.wtypeId)) {
      // If it does, add the bonus damage.
      value += Math.ceil(value * 0.30);
</Custom Confirm Effect>


Please wait while you are redirected...or Click Here if you do not want to wait.