From 1040b2f1d785bccb77fe88e36205b5787d23f203 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 28 Nov 2023 08:15:50 -0500 Subject: [PATCH] Fix incorrect operator used for ability weather damage formula --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 09f242f53..ec884275e 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -769,7 +769,7 @@ export class PostWeatherLapseDamageAbAttr extends PostWeatherLapseAbAttr { const scene = pokemon.scene; scene.queueMessage(getPokemonMessage(pokemon, ` is hurt\nby its ${pokemon.getAbility()}!`)); scene.unshiftPhase(new DamagePhase(pokemon.scene, pokemon.getBattlerIndex(), HitResult.OTHER)); - pokemon.damage(Math.ceil(pokemon.getMaxHp() * (16 / this.damageFactor))); + pokemon.damage(Math.ceil(pokemon.getMaxHp() / (16 / this.damageFactor))); return true; }