diff --git a/src/modifier/modifier.ts b/src/modifier/modifier.ts index 70fd55c03..18e3a0df1 100644 --- a/src/modifier/modifier.ts +++ b/src/modifier/modifier.ts @@ -753,7 +753,7 @@ export class PokemonHpRestoreModifier extends ConsumablePokemonModifier { restorePoints = Math.floor(restorePoints * (args[1] as number)); else pokemon.resetStatus(); - pokemon.hp = Math.min(pokemon.hp + Math.ceil(Math.max(Math.floor((this.restorePercent * 0.01) * pokemon.getMaxHp()), restorePoints)), pokemon.getMaxHp()); + pokemon.hp = Math.min(pokemon.hp + Math.max(Math.ceil(Math.max(Math.floor((this.restorePercent * 0.01) * pokemon.getMaxHp()), restorePoints)), 1), pokemon.getMaxHp()); } return true;