From 4432522e151445b2362e92c695b980a23aae4627 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 17 Mar 2024 23:21:30 -0400 Subject: [PATCH] Fix weather damage ability flavor text --- 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 461c340bfc3..cac67fbbe62 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -997,7 +997,7 @@ export class PostWeatherLapseDamageAbAttr extends PostWeatherLapseAbAttr { applyPostWeatherLapse(pokemon: Pokemon, weather: Weather, args: any[]): boolean { if (pokemon.getHpRatio() < 1) { const scene = pokemon.scene; - scene.queueMessage(getPokemonMessage(pokemon, ` is hurt\nby its ${pokemon.getAbility()}!`)); + scene.queueMessage(getPokemonMessage(pokemon, ` is hurt\nby its ${pokemon.getAbility().name}!`)); pokemon.damageAndUpdate(Math.ceil(pokemon.getMaxHp() / (16 / this.damageFactor)), HitResult.OTHER); return true; }