I tried change
to
it not working and get replaced by rec actor, example the actor with 300 HP equip with item 100% HP Regen, then get state to reduce by 30% so it 70%, the regen should be 210 but it become 90.
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);
}
};
to
Game_Battler.prototype.regenerateHp = function() {
var value = Math.floor(this.mhp * this.hrg * this.rec);
value = Math.max(value, -this.maxSlipDamage());
if (value !== 0) {
this.gainHp(value);
}
};
it not working and get replaced by rec actor, example the actor with 300 HP equip with item 100% HP Regen, then get state to reduce by 30% so it 70%, the regen should be 210 but it become 90.