Difference between revisions of "Life Steal (YEP)"

From Yanfly.moe Wiki
Jump to navigation Jump to search
(Created page with "{{MvPlugin |preview=<youtube>https://www.youtube.com/watch?v=5gzSWDdIgyo</youtube> |link1=<html><iframe src="https://itch.io/embed/398470" height="167" width="552" frameborder...")
 
Line 1: Line 1:
 
{{MvPlugin
 
{{MvPlugin
|preview=<youtube>https://www.youtube.com/watch?v=5gzSWDdIgyo</youtube>
+
|preview = <youtube>https://www.youtube.com/watch?v=5gzSWDdIgyo</youtube>
|link1=<html><iframe src="https://itch.io/embed/398470" height="167" width="552" frameborder="0"></iframe></html>
+
|link1 = <html><iframe src="https://itch.io/embed/398470" height="167" width="552" frameborder="0"></iframe></html>
|link2=[http://yanfly.moe/plugins/en/YEP_LifeSteal.js Mirror]
+
|link2 = [http://yanfly.moe/plugins/en/YEP_LifeSteal.js Mirror]
  
 
}}
 
}}
Line 9: Line 9:
 
{{Yanfly Engine Plugins}}
 
{{Yanfly Engine Plugins}}
  
== Help File ==
+
== Introduction ==
  
 
  <nowiki>
 
  <nowiki>
============================================================================
 
Introduction
 
============================================================================
 
 
 
Life Steal is a mechanic in RPG Maker MV that only exists in the form of
 
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
 
specific skills or items. There is no way to passively gain Life Steal from
Line 21: Line 17:
 
passive Life Steal traits for physical, magical, and certain hit attacks for
 
passive Life Steal traits for physical, magical, and certain hit attacks for
 
both HP and MP values.
 
both HP and MP values.
 +
</nowiki>
  
============================================================================
+
== Notetags ==
Notetags
 
============================================================================
 
  
 +
<nowiki>
 
You can use the following notetags to alter how Life Stealing works for the
 
You can use the following notetags to alter how Life Stealing works for the
 
various database entries.
 
various database entries.
Line 111: Line 107:
  
 
---
 
---
 +
</nowiki>
  
============================================================================
+
== Lunatic Mode - Custom Life Steal ==
Lunatic Mode - Custom Life Steal
 
============================================================================
 
  
 +
<nowiki>
 
For those with JavaScript proficiency, you can utilize these notetags to
 
For those with JavaScript proficiency, you can utilize these notetags to
 
have your various database objects have dynamic Life Steal values.
 
have your various database objects have dynamic Life Steal values.
Line 202: Line 198:
 
   will life steal HP/MP from its target relative to the damage dealt. This
 
   will life steal HP/MP from its target relative to the damage dealt. This
 
   is a flat bonus value and stacks additively.
 
   is a flat bonus value and stacks additively.
 +
</nowiki>
  
============================================================================
+
== Changelog ==
Changelog
 
============================================================================
 
  
 +
<nowiki>
 
Version 1.04:
 
Version 1.04:
 
- Bypass the isDevToolsOpen() error when bad code is inserted into a script
 
- Bypass the isDevToolsOpen() error when bad code is inserted into a script

Revision as of 00:53, 22 June 2019

Welcome to the wiki! This is where you can find resources from Yanfly.moe, Ækashics.moe,
VisuStella, Caz Wolf, Fallen Angel Olivia, Atelier Irina, and other affiliated content creators.



Download

System

This is a plugin created for RPG Maker MV.

For help on how to install plugins, click here.

For help on how to update plugins, click here.

Got errors with your RPG Maker MV plugin? Click here.


Masterarbeit Writer

Yanfly Engine Plugins

This plugin is a part of the Yanfly Engine Plugins library.


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 'flat' 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.

Changelog

Version 1.04:
- Bypass the isDevToolsOpen() error when bad code is inserted into a script
call or custom Lunatic Mode code segment due to updating to MV 1.6.1.

Version 1.03:
- Updated for RPG Maker MV version 1.5.0.

Version 1.02:
- Lunatic Mode fail safes added.

Version 1.01:
- Updated for RPG Maker MV version 1.1.0.

Version 1.00:
- Finished Plugin!