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