YEP.71 – Life Steal – 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.

You can grab the plugin here:
English Dropbox
English Mirror

Life Steal is a mechanic in RPG Maker MV that only exists in the form of specific skills or items. There is no way to passively gain Life Steal from physical, magical, or certain hit attacks. This plugin will allow you to set passive Life Steal traits for physical, magical, and certain hit attacks for both HP and MP values.


Introduction


Life Steal is a mechanic in RPG Maker MV that only exists in the form of specific skills or items. There is no way to passively gain Life Steal from physical, magical, or certain hit attacks. This plugin will allow you to set passive Life Steal traits for physical, magical, and certain hit attacks for both HP and MP values.


Notetags


You can use the following notetags to alter how Life Stealing works for the various database entries.

Skill and Item Notetags:

<HP Life Steal: x%>
<MP Life Steal: x%>
This causes this attack to life steal x% of HP or MP back relative to the amount of damage dealt.

<HP Life Steal: x>
<MP Life Steal: x>
This causes this attack to life steal exactly x amount of HP or MP back regardless of damage dealt.

<Cancel Life Steal>
Makes this skill or item cancel any Life Steal effects from passively activating for this action. However, HP Drain and MP Drain will still still occur.

<Cancel HP Life Steal>
<Cancel MP Life Steal>
Specifically cancels out HP Life Steal or MP Life Steal effects from passively activating for this action. However, HP Drain and MP Drain will still occur.

Actor, Class, Enemy, Weapon, Armor, State Notetags:

<HP Life Steal Physical: +x%>
<HP Life Steal Magical: +x%>
<HP Life Steal Certain: +x%>

<MP Life Steal Physical: +x%>
<MP Life Steal Magical: +x%>
<MP Life Steal Certain: +x%>

<HP Life Steal Physical: -x%>
<HP Life Steal Magical: -x%>
<HP Life Steal Certain: -x%>

<MP Life Steal Physical: -x%>
<MP Life Steal Magical: -x%>
<MP Life Steal Certain: -x%>
This causes the related battler to multiplicatively increase its passive Life Steal by +x% or -x% of the damage dealt towards Physical, Magical, or Certain Hit type of attacks. This effect stacks multiplicatively.

<HP Life Steal Physical: +x>
<HP Life Steal Magical: +x>
<HP Life Steal Certain: +x>

<MP Life Steal Physical: +x>
<MP Life Steal Magical: +x>
<MP Life Steal Certain: +x>

<HP Life Steal Physical: -x>
<HP Life Steal Magical: -x>
<HP Life Steal Certain: -x>

<MP Life Steal Physical: -x>
<MP Life Steal Magical: -x>
<MP Life Steal Certain: -x>
This causes the related battler to additively increase its passive Life Steal by a flat +x or -x of the damage dealt towards Physical, Magical, or Certain Hit type of attacks. This effect stacks additively.

<Guard Life Steal>
The related battler cannot be life stolen from for both HP and MP.

<Guard HP Life Steal>
<Guard MP Life Steal>
The related battler cannot be life stolen from for either HP or MP.

<Cancel Life Steal>
The related battler cannot passively life steal both HP and MP.

<Cancel HP Life Steal>
<Cancel MP Life Steal>
The related battler cannot passively life steal HP or MP specifically.


Lunatic Mode – Custom Life Steal


For those with JavaScript proficiency, you can utilize these notetags to have your various database objects have dynamic Life Steal values.

— Skill and Item Notetags —

<Custom HP Life Steal Rate>
rate = user.hpRate();
</Custom HP Life Steal Rate>

<Custom MP Life Steal Rate>
rate = user.hpRate();
</Custom MP Life Steal Rate>
The ‘rate’ variable is the amount of HP/MP that the skill/item will life steal from the target based on the damage dealt to the target. This is a percentile value.

— — —

<Custom HP Life Steal Flat>
flat = user.mhp;
</Custom HP Life Steal Flat>

<Custom MP Life Steal Flat>
flat = user.mhp;
</Custom MP Life Steal Flat>
The ‘flat’ variable is the amount of HP/MP that the skill/item will life steal from the target based on the damage dealt to the target. This is a flat value.

— Actor, Class, Enemy, Weapon, Armor, State Notetags —

<Custom HP Life Steal Physical Rate>
rate = user.hpRate();
</Custom HP Life Steal Physical Rate>

<Custom HP Life Steal Magical Rate>
rate = user.hpRate();
</Custom HP Life Steal Magical Rate>

<Custom HP Life Steal Certain Rate>
rate = user.hpRate();
</Custom HP Life Steal Certain Rate>

<Custom MP Life Steal Physical Rate>
rate = user.hpRate();
</Custom MP Life Steal Physical Rate>

<Custom MP Life Steal Magical Rate>
rate = user.hpRate();
</Custom MP Life Steal Magical Rate>

<Custom MP Life Steal Certain Rate>
rate = user.hpRate();
</Custom MP Life Steal Certain Rate>
The ‘rate’ variable is the bonus amount of multiplicative rate the related user will life steal HP/MP from its target relative to the damage dealt. This is a percentile value and stacks multiplicatively.

— — —

<Custom HP Life Steal Physical Flat>
flat = user.mhp;
</Custom HP Life Steal Physical Flat>

<Custom HP Life Steal Magical Flat>
flat = user.mhp;
</Custom HP Life Steal Magical Flat>

<Custom HP Life Steal Certain Flat>
flat = user.mhp;
</Custom HP Life Steal Certain Flat>

<Custom MP Life Steal Physical Flat>
flat = user.mhp;
</Custom MP Life Steal Physical Flat>

<Custom MP Life Steal Magical Flat>
flat = user.mhp;
</Custom MP Life Steal Magical Flat>

<Custom MP Life Steal Certain Flat>
flat = user.mhp;
</Custom MP Life Steal Certain Flat>
The ‘flate’ variable is the bonus amount of flat bonus the related user will life steal HP/MP from its target relative to the damage dealt. This is a flat bonus value and stacks additively.


Happy RPG Making!


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!