From 6fd3c356c44cb8452b7b753b6d100eb3849234bb Mon Sep 17 00:00:00 2001 From: Bertie690 Date: Fri, 8 Aug 2025 14:18:03 -0400 Subject: [PATCH] fixd heal block bug --- src/phases/pokemon-heal-phase.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases/pokemon-heal-phase.ts b/src/phases/pokemon-heal-phase.ts index b461d8d2ca8..5c724860d3b 100644 --- a/src/phases/pokemon-heal-phase.ts +++ b/src/phases/pokemon-heal-phase.ts @@ -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); } }