RMMV 2-in-1 (Damage + Less Drain) Formula Question

Hi everyone,

It's my understanding that HP Drain always restores 100% of the HP taken from the enemy, so if the player deals 100 damage to the enemy, the player's life will restore 100 HP. I'd like to make the actual amount restored just a fraction of that though. Is there a way to still deal damage but only restore, say, 10% or 20% (or 200% or any other %) of the damage dealt? I would like the amount of HP restored to still be relative to the amount of damage dealt, but be a percent other than 100%. Thanks!
Try using this plugin.Life Steal (YEP)
Perfect, thank you!

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-2-in-1-damage-less-drain-formula-question.123210/