Class MysteriousAirCurrent


public class MysteriousAirCurrent extends Weather
  • Constructor Details

    • MysteriousAirCurrent

      public MysteriousAirCurrent()
  • Method Details

    • getNewInstance

      protected Weather getNewInstance(int turns)
      Description copied from class: Weather
      Gets a new instance of the subclass.
      Specified by:
      getNewInstance in class Weather
      Parameters:
      turns - The number of turns that the weather will last for.
      Returns:
      A new instance of the subclass.
    • countBenefits

      protected int countBenefits(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from class: Weather
      Counts the number of ways that the target Pokémon benefits from the weather.
      Specified by:
      countBenefits in class Weather
      Parameters:
      user - The Pokémon using the weather move.
      target - The Pokémon to count benefits for.
      Returns:
      The number of ways that the target Pokémon benefits from the weather.
    • modifyEffectiveTypes

      public List<Element> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<Element> types)
      Description copied from class: StatusBase
      Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.
      Overrides:
      modifyEffectiveTypes in class StatusBase
      Parameters:
      user - The attack's user.
      target - The attack's target.
      Returns:
      The target's modified types.
    • applyRepeatedEffect

      public void applyRepeatedEffect(GlobalStatusController global)
      Description copied from class: GlobalStatusBase
      Triggers at the end of every turn.
      Overrides:
      applyRepeatedEffect in class Weather
      Parameters:
      global - The battle's global status controller.
    • applyRepeatedEffect

      protected void applyRepeatedEffect(BattleController bc)
      Description copied from class: Weather
      Triggers at the end of every turn.
      Overrides:
      applyRepeatedEffect in class Weather
      Parameters:
      bc - The battle that the weather is in.