From 3d959e3860a939dd232dcc5331608e74968e66c7 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Thu, 11 Apr 2024 14:52:32 -0400 Subject: [PATCH] SpDef boost in sandstorm only applies to rock types --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 2eb39cae0..946c10e82 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -523,7 +523,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { case Stat.SPATK: break; case Stat.SPDEF: - if (this.scene.arena.weather?.weatherType === WeatherType.SANDSTORM) + if (this.isOfType(Type.ROCK) && this.scene.arena.weather?.weatherType === WeatherType.SANDSTORM) ret *= 1.5; break; case Stat.SPD: