Tips & Tricks – Attunement (Final Fantasy Record Keeper) – 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.

Attunement is a passive effect from Final Fantasy Record Keeper. When the passive’s user manages to hit an elemental weakness for an enemy, the user will deal additional bonus damage on top of the already exploited weakness bonus, making striking weaknesses hurt even more! Here’s how to make the effect in RPG Maker MV!

You can grab the copy/paste code here: 


Place the following Lunatic Mode code into the passive state’s notebox. Change the values in red to reflect the game’s settings.

<Custom Confirm Effect>
// Check if the action deals HP damage
if (this.isHpEffect() && value > 0) {
  // Get this action's elements
  var elements = this.getItemElements();
  // Loop through each of the elements
  for (var i = 0; i < elements.length; ++i) {
    // Get the currently looped element
    var elementId = elements[i];
    // Check if the target is weak to the element
    if (target.elementRate(elementId) > 1.00) {
      // Set the bonus damage rate to be dealt
      var rate = 1.30;
      // Calculate the new damage value
      value = Math.ceil(value * rate);
      // Break the loop
      break;
    }
  }
}
</Custom Confirm Effect>

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!