HP regeneration by a flat number instead of percentage?

Hello, I would like to create a state that regenerates HP every turn, but only by a flat number instead of a percentage (Ex: A state that heals exactly 50 HP per turn). The database menu only seems to allow you to input percentages for HP Regeneration. How would I go about resolving this issue?
need plugins for that
http://yanfly.moe/2017/04/07/yep-131-extended-damage-over-time-rpg-maker-mv/
will let u change healing over time and damage over time states to use formulas.
this plugin require 2 others to run correctly as listed in that page
need plugins for that
http://yanfly.moe/2017/04/07/yep-131-extended-damage-over-time-rpg-maker-mv/
will let u change healing over time and damage over time states to use formulas.
this plugin require 2 others to run correctly as listed in that page
Ah, this is exactly what I needed. Thanks.
Code:
Game_Battler.prototype.regenerateHp = function() {
    var value = Math.floor(this.mhp * this.hrg);      <------
    value = Math.max(value, -this.maxSlipDamage());
    if (value !== 0) {
        this.gainHp(value);
    }
};

Code:
var value = Math.floor(this.hp + (this.hrg * 100));

that will go from 0 to 100.
if you want a greater value, just add more HRG entries
you don't need a whole plugin for just one change.
you don't need a whole plugin for just one change.
Main thing here is that I don't want to completely override the default HP regen function. I want to create some states that regen by percentage and others that regen by a flat number.

Although, your suggestion did give me an idea. In my particular project, I've disabled magic; everything is based on physical stats and TP, so therefore the MP regen is unused. I took your code, tweaked it, and replaced the MP regen with it:
Code:
Game_Battler.prototype.regenerateMp = function() {
    var value = Math.floor(this.mrg * 100);
    if (value !== 0) {
        this.gainHp(value);
    }
};

Original thread: https://forums.rpgmakerweb.com/threads/hp-regeneration-by-a-flat-number-instead-of-percentage.110041/