[Dev] Vampiric Weapon with Conditions

So my next big plugin is going to be a plugin that allows you to create a weapon that will drain a certain amount of HP based on how much damage you inflicted.


If you inflicted 1000 damage and you drain 10% HP, then you'll recover 100 HP.


However, if you inflicted -1000 damage, then you'll lose 100 HP.


This vampiric effect will only be activated when you hold a particular weapon, and use particular skills.


If you're holding a vampiric sword and you cast a fire spell, you're not going to get any HP back.


It will be up to you to specify the conditions that the vampiric effect will occur.


Well, that wouldn't be all that it does, but this is just a particular use case I'll be using to demonstrate the plugin.
I've been looking for a life steal plugin; I even tried to create similar effects via common events but it has proven difficult; mostly, with drain skill which ticks as state. Similar to Vampric Embrace for World of Warcraft. 
I've been looking for a life steal plugin; I even tried to create similar effects via common events but it has proven difficult; mostly, with drain skill which ticks as state. Similar to Vampric Embrace for World of Warcraft.
Hmm, I do have a plugin in the works that will allow you to steal health from a target every turn using states.

Original thread: https://forums.rpgmakerweb.com/threads/dev-vampiric-weapon-with-conditions.51259/