[Bug] Fixing multi-hit drain moves so they heal based on individual hit and not total turn damage (#1974)
This commit is contained in:
parent
ce3a9c9c87
commit
8a0eaa0009
|
@ -1467,7 +1467,7 @@ export class HitHealAttr extends MoveEffectAttr {
|
|||
message = i18next.t("battle:drainMessage", {pokemonName: target.name});
|
||||
} else {
|
||||
// Default healing formula used by draining moves like Absorb, Draining Kiss, Bitter Blade, etc.
|
||||
healAmount = Math.max(Math.floor(user.turnData.damageDealt * this.healRatio), 1);
|
||||
healAmount = Math.max(Math.floor(user.turnData.currDamageDealt * this.healRatio), 1);
|
||||
message = i18next.t("battle:regainHealth", {pokemonName: user.name});
|
||||
}
|
||||
if (reverseDrain) {
|
||||
|
|
Loading…
Reference in New Issue