Make status damage skip endure

pull/597/head
ElMoustacho 2024-05-06 22:27:20 +03:00
parent 7a1895242c
commit b20839e09b
1 changed files with 1 additions and 1 deletions

View File

@ -2930,7 +2930,7 @@ export class PostTurnStatusEffectPhase extends PokemonPhase {
break;
}
if (damage) {
this.scene.damageNumberHandler.add(this.getPokemon(), pokemon.damage(damage));
this.scene.damageNumberHandler.add(this.getPokemon(), pokemon.damage(damage, false, true));
pokemon.updateInfo();
}
new CommonBattleAnim(CommonAnim.POISON + (pokemon.status.effect - 1), pokemon).play(this.scene, () => this.end());