So I am using Yanfly's life steal plugin, and in my game I have a vampire "state" a certain character can get permanently. So I had this idea, that is a target is afflicted by the "Bleed" state, and hit by a "Vampire" life steal attack, it would recover 15% more.
Problem is....I have 0 clue how to do this.
<Custom HP Life Steal ___ Rate>
if (target.isStateAffected(#)) {
rate = 1.15;
} else {
rate = 1;
}
</Custom HP Life Steal ___ Rate>
Where ___ is physical, magical, or certain to specify which type of skills this applies to, and # is the database ID of your 'Bleed' state.
Basically, we check if the target has your "bleeding" status, and if so, set the lifesteal rate to 115%. If not, we just go with 100%.
If you want it to apply to physical, magical, and and certain hit skills, copy the tag three times, and put a different value in ___ each time.