Change Liquid Ooze HitResult to OTHER from HEAL

This commit is contained in:
Christopher Schmidt 2025-01-26 13:00:29 -05:00
parent cce05a1244
commit f6dac8bade
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ export class PokemonHealPhase extends CommonAnimPhase {
} }
const healAmount = new Utils.NumberHolder(Math.floor(this.hpHealed * hpRestoreMultiplier.value)); const healAmount = new Utils.NumberHolder(Math.floor(this.hpHealed * hpRestoreMultiplier.value));
if (healAmount.value < 0) { if (healAmount.value < 0) {
pokemon.damageAndUpdate(healAmount.value * -1, HitResult.HEAL as DamageResult); pokemon.damageAndUpdate(healAmount.value * -1, HitResult.OTHER as DamageResult);
healAmount.value = 0; healAmount.value = 0;
} }
// Prevent healing to full if specified (in case of healing tokens so Sturdy doesn't cause a softlock) // Prevent healing to full if specified (in case of healing tokens so Sturdy doesn't cause a softlock)