Yanfly - Life Steal - Lack of Drawback

So I am currently working with Yanfly's Life Steal plugin and at the moment I can get the plugin to heal with moves and whatnot, but when I have it at negative it won't damage the user. I have the "Negative HP Damage" turned on, is there another way I can get around this issue or is there something I am doing wrong?
This is a bug in Yanfly's plugin. And a trivial one to solve too 😀
Code:
Game_Battler.prototype.lifeSteal = function(damage, type, target, rate, flat) {
    if (!type) return;
    rate = 1 - (rate || 0);
    flat = flat || 0;
    rate *= 1 - this.getLifeStealRate(type + 'Rate', target);
    flat += this.getLifeStealFlat(type + 'Flat', target);
    if (Yanfly.Param.LSHPNeg) {
      var lifeSteal = Math.floor(damage * (1 - rate) + flat);
    } else {
      var lifeSteal = Math.max(0, Math.floor(damage * (1 - rate) + flat));
    }
    if (Yanfly.Param.LSHPOver) lifeSteal = Math.min(lifeSteal, damage);
    if (lifeSteal <= 0) return;
    this.gainHp(lifeSteal);
};

Inside this function you can see if (lifeSteal <= 0) return;
In practice it means that if there's going to be damage instead of healing, nothing happens.
If you delete this line, you're all set.
This is a bug in Yanfly's plugin. And a trivial one to solve too 😀
Code:
Game_Battler.prototype.lifeSteal = function(damage, type, target, rate, flat) {
    if (!type) return;
    rate = 1 - (rate || 0);
    flat = flat || 0;
    rate *= 1 - this.getLifeStealRate(type + 'Rate', target);
    flat += this.getLifeStealFlat(type + 'Flat', target);
    if (Yanfly.Param.LSHPNeg) {
      var lifeSteal = Math.floor(damage * (1 - rate) + flat);
    } else {
      var lifeSteal = Math.max(0, Math.floor(damage * (1 - rate) + flat));
    }
    if (Yanfly.Param.LSHPOver) lifeSteal = Math.min(lifeSteal, damage);
    if (lifeSteal <= 0) return;
    this.gainHp(lifeSteal);
};

Inside this function you can see if (lifeSteal <= 0) return;
In practice it means that if there's going to be damage instead of healing, nothing happens.
If you delete this line, you're all set.
I just tried this, and actually it created another issue. It now shows the damage to be 0 AND now when anybody attacks it shows the "0" under them as if Life Steal mechanic was applying to them as well.
The way damage is done that might not be fixable. Healing is treated as negative damage, so if you add what you wish, you might discover that healing spells also inflict negative lifedrain, and cancel each other out (which will make healing spells not work at all). That is why Yanfly put the code to return 0 if lifesteal is <= 0, as it will always be <= 0 on a healing spell (or healing attack).

You may need a full rewrite of the damage formula code to pull this off.

Original thread: https://forums.rpgmakerweb.com/threads/yanfly-life-steal-lack-of-drawback.94385/