mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-17 05:42:18 +02:00
Fixed spacing and semicolon
This commit is contained in:
parent
99c5654db5
commit
2382579ffb
@ -1035,7 +1035,7 @@ export class PokemonHpRestoreModifier extends ConsumablePokemonModifier {
|
||||
if (!this.fainted)
|
||||
restorePoints = Math.floor(restorePoints * (args[1] as number));
|
||||
if (this.fainted || this.healStatus)
|
||||
pokemon.resetStatus(true, true)
|
||||
pokemon.resetStatus(true, true);
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user