mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-15 03:49:33 +02:00
Fixed liquid ooze not working
This commit is contained in:
parent
6fd3c356c4
commit
e61a0d4326
@ -197,6 +197,7 @@ 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);
|
||||
// TODO: we need to round liquid ooze dmg towards 0, not down
|
||||
return Math.min(Math.floor(this.hpHealed * healMulti.value), this.getPokemon().getMaxHp() - +this.preventFullHeal);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user