mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 05:12:19 +02:00
Add a comment to justify arguments to damage method
This commit is contained in:
parent
b20839e09b
commit
c1a8d5c244
@ -2930,6 +2930,7 @@ export class PostTurnStatusEffectPhase extends PokemonPhase {
|
||||
break;
|
||||
}
|
||||
if (damage) {
|
||||
// Set preventEndure flag to avoid pokemon surviving thanks to focus band, sturdy, endure ...
|
||||
this.scene.damageNumberHandler.add(this.getPokemon(), pokemon.damage(damage, false, true));
|
||||
pokemon.updateInfo();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user