Class GlobalStatusBase

Direct Known Subclasses:
AuraStatus, EchoedVoiceStatus, FairyLock, Gravity, IonDeluge, MagicRoom, OfRuinStatus, RepeatDamage, Sport, Terrain, TrickRoom, Weather, WonderRoom

public abstract class GlobalStatusBase extends StatusBase
A status that affects all Pokémon in battle.
  • Constructor Details

    • GlobalStatusBase

      public GlobalStatusBase(StatusType type)
      Parameters:
      type - The status's type.
  • Method Details

    • applyRepeatedEffect

      public void applyRepeatedEffect(GlobalStatusController globalStatusController)
      Triggers at the end of every turn.
      Parameters:
      globalStatusController - The battle's global status controller.
    • isWeather

      public boolean isWeather()
      Determines whether the global status is a weather condition.
      Returns:
      Whether the global status is a weather condition.
    • isTerrain

      public boolean isTerrain()
      Determines whether the global status is a terrain.
      Returns:
      Whether the global status is a terrain.
    • ignoreWeather

      public static boolean ignoreWeather(BattleController bc)
      Determines whether to ignore weather effects during the turn.
      Parameters:
      bc - The battle's battle controller.
      Returns:
      Whether to ignore weather.