Death (MV Plugin Tips & Tricks)

From Wiki
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.

In Final Fantasy 11, the Death spell will consume all of the user’s MP for a chance to inflict instant death. However, against major enemies (aka bosses), Death will deal damage based on MP consumed instead. We’ll add our own spin on it this time. The Death proc success rate depends on the user’s MP% when consumed. Here’s how to create this effect in 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:

Insert the following line into your Death skill’s damage formula. Change it as you see fit. * 20
Insert the following Lunatic Mode code into your Death skill’s notebox. Change the values to fit your game.
// Display cost
<Custom Cost Display>
\fs[20]\c[23]All MP\c[0]\fr
</Custom Cost Display>

// Requires user to have at least 1 MP
<Custom Requirement>
value = > 0;
</Custom Requirement>

<Pre-Damage Eval>
// Check if the target isn't a boss
if (!target.isStateCategoryAffected('boss')) {
  // Set the damage to 0
  value = 0;
  // Remove the HP popups
  target.result().hpAffected = false;
</Pre-Damage Eval>

<Post-Damage Eval>
// Check if the target isn't a boss
if (!target.isStateCategoryAffected('boss')) {
  // Remove the HP popups
  target.result().hpAffected = false;
  // Get the target's death state ID
  var deathStateId = target.deathStateId();
  // Calculate the chance based on the user's current MP%
  var chance = user.mpRate();
  // Alter that based on the target's death resistance
  chance *= target.stateRate(deathStateId);
  // Check RNG if it passed
  if (Math.random() < chance) {
    // Check if the target is temporarily immortal from action sequences
    if (target.isImmortal()) {
      // If it is, remove the temporary immortal status
    // Add the death state
  } else {
    // Display a miss if RNG failed
    target.result().missed = true;
</Post-Damage Eval>

<After Eval>
// Set user's MP to 0
<After Eval>