Tips & Tricks – Imperial Highblade Shock (FFRK) – 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.

In the popular mobile game, Final Fantasy Record Keeper, General Leo’s soul break attack attacks all enemies but deals more damage when less are present. In addition to that, it also deals Holy or Non-Elemental damage, depending on which element deals more damage. Here’s how we can create this effect in RPG Maker!

You can grab the copy/paste code here: 


Insert the following code into your Shock skill’s notebox. Change the values in red to reflect your game’s settings.

<Damage Formula>
// Check if the damage has already been calculated
if (this._calculatedBaseDmg) {
  // Set the damage to the cached amount
  value = this._calculatedBaseDmg;
// Otherwise
} else {
  // Get the total number of enemies
  var totalEnemies = target.friendsUnit().aliveMembers().length;
  // If there is 1 enemy total
  if (totalEnemies === 1) {
    // Use this formula
    this._calculatedBaseDmg = user.atk * 16;
  // If there are 2 enemies in total
  } else if (totalEnemies === 2) {
    // Use this formula
    this._calculatedBaseDmg = user.atk * 8;
  // If there are 3 enemies in total
  } else if (totalEnemies === 3) {
    // Use this formula
    this._calculatedBaseDmg = user.atk * 4;
  // if there are 4 or more
  } else {
    // Use this formula
    this._calculatedBaseDmg = user.atk * 2;
  }
  // Set the value equal to the calculated amount
  value = this._calculatedBaseDmg;
}
</Damage Formula>

// Use multiple elements
<Multiple Elements: 6, 13>
// Set the damage rule to the highest multiplier
<Multi-Element Rule: Highest>

Enjoy!

Happy RPG Making!


These plugins and Tips & Tricks ideas are made possible thanks to our creative patrons on Patreon! The majority of our Tips & Tricks, Plugins, and Lunatic Pack ideas are placed within the Patreon-exclusive Sample Project for quick and easy access! If you'd like to make a Plugin Suggestion, Yanfly's Patreon-based Suggestion Box a visit here:


If you have any bugs to report, visit the following link:


If you have any questions about Action Sequences, visit the following link:



Thank you!