Tips & Tricks – Arisen Phoenix (Monster Hunter) – 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.

Arisen Phoenix is a skill from Monster Hunter that removes all states on a target, good or bad, then restores HP based on the amount of states removed. This effect can now be recreated in RPG Maker MV!~

You can grab the copy/paste code here: 

Insert the following code into your Arisen Phoenix/Purification skill’s notebox. Change the values in red to match your game’s settings.

<Custom Select Condition>
// Make targets only selectable if the target's total states exceed 1.
condition = target._states.length > 0;
</Custom Select Condition>

<Damage Formula>
// Get the number of states the target has.
var states = b._states.length;
// Calculate the amount of healing done based on the state count
value = (a.mdf * 2) * states;
</Damage Formula>

<Pre-Damage Eval>
// Loop each state.
while (target._states.length > 0) {
  // Get the current looped state.
  var stateId = target._states.shift();
  // Remove the state from the target.
  target.removeState(stateId);
}
</Pre-Damage Eval>

Enjoy!

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