From f79337b475c813ea3aa2794280524a9ec4bd3eb7 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Wed, 27 Mar 2024 11:42:06 -0400 Subject: [PATCH] Fix burn damage change affecting poison --- src/phases.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/phases.ts b/src/phases.ts index c6d3e51eb76..d6ee5a8c70d 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2635,12 +2635,14 @@ export class PostTurnStatusEffectPhase extends PokemonPhase { let damage: integer = 0; switch (pokemon.status.effect) { case StatusEffect.POISON: - case StatusEffect.BURN: - damage = Math.max(pokemon.getMaxHp() >> 4, 1); + damage = Math.max(pokemon.getMaxHp() >> 3, 1); break; case StatusEffect.TOXIC: damage = Math.max(Math.floor((pokemon.getMaxHp() / 16) * pokemon.status.turnCount), 1); break; + case StatusEffect.BURN: + damage = Math.max(pokemon.getMaxHp() >> 4, 1); + break; } if (damage) { this.scene.damageNumberHandler.add(this.getPokemon(), pokemon.damage(damage));