From 1085e0f692183d5d5133317ec5479feffcd7f132 Mon Sep 17 00:00:00 2001 From: Matthew Date: Fri, 5 Apr 2024 20:49:42 -0400 Subject: [PATCH] Weather damages through enduring --- src/phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/phases.ts b/src/phases.ts index 24f13c875..2c738cc41 100644 --- a/src/phases.ts +++ b/src/phases.ts @@ -2571,7 +2571,7 @@ export class WeatherEffectPhase extends CommonAnimPhase { const damage = Math.ceil(pokemon.getMaxHp() / 16); this.scene.queueMessage(getWeatherDamageMessage(this.weather.weatherType, pokemon)); - pokemon.damageAndUpdate(damage); + pokemon.damageAndUpdate(damage, HitResult.OTHER, false, false, true); }; this.executeForAll((pokemon: Pokemon) => {