fixd heal block bug

This commit is contained in:
Bertie690 2025-08-08 14:18:03 -04:00
parent 2a611da07a
commit 6fd3c356c4

View File

@ -197,6 +197,6 @@ export class PokemonHealPhase extends CommonAnimPhase {
// Liquid Ooze damage (being negative) remains uncapped as normal.
const healMulti = new NumberHolder(1);
globalScene.applyModifiers(HealingBoosterModifier, this.player, healMulti);
return toDmgValue(Math.min(this.hpHealed * healMulti.value, this.getPokemon().getMaxHp() - +this.preventFullHeal));
return Math.min(Math.floor(this.hpHealed * healMulti.value), this.getPokemon().getMaxHp() - +this.preventFullHeal);
}
}