diff --git a/src/field/arena.ts b/src/field/arena.ts index 11677dc490e..0ae243f0386 100644 --- a/src/field/arena.ts +++ b/src/field/arena.ts @@ -331,6 +331,10 @@ export class Arena { return this.terrain?.terrainType || TerrainType.NONE; } + getWeatherType() : WeatherType { + return this.weather?.weatherType || WeatherType.NONE; + } + getAttackTypeMultiplier(attackType: Type, grounded: boolean): number { let weatherMultiplier = 1; if (this.weather && !this.weather.isEffectSuppressed(this.scene)) @@ -727,4 +731,4 @@ export class ArenaBase extends Phaser.GameObjects.Container { }, (this.scene as BattleScene).currentBattle?.waveIndex || 0, (this.scene as BattleScene).waveSeed); } } -} \ No newline at end of file +}