Trueshot Aura (MV Plugin Tips & Tricks)

From Wiki
Revision as of 14:36, 9 July 2019 by Yanfly (talk | contribs) (Created page with "{{Yanfly Tips & Tricks MV |preview = <youtube></youtube> |desc = The Trueshot Aura is an aura effect from WarCraft 3. It causes a...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Welcome to the wiki! This is where you can find resources from, Æ,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.

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!

Required Plugins

The following plugin(s) is required to create this Tips & Tricks effect:

For help on how to install plugins, click here.

For help on how to update plugins, click here.


This is a Tips & Tricks effect created for RPG Maker MV. Tips & Tricks are not to be confused with plugins. Instead, they are usually customized code created for the sake of producing unique features/effects that do not require an entire plugin to do.

Yanfly Engine Plugins

This Tips & Tricks effect is made possible due to the Yanfly Engine Plugins library.

Click here if you want to help support Team Yanfly on Patreon.


Follow video instructions.

You can grab the copy/paste code here:

Place the following code into your Aura Effect state’s notebox. Change the values 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>