java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.ShieldsDown
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable

public class ShieldsDown extends AbstractAbility
  • Constructor Details

    • ShieldsDown

      public ShieldsDown()
  • Method Details

    • canBeIgnored

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not.
      Returns:
      Whether the ability can be ignored.
    • allowsStatus

      public boolean allowsStatus(StatusType status, PixelmonWrapper pw, PixelmonWrapper user)
      Description copied from interface: Ability
      Fires when a status attempts to apply.
      Parameters:
      status - StatusType.[whatever status] == status is the condition of the if statement.
      pw - The victim.
      user - The user.
      Returns:
      Whether the status can be afflicted.
    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pw)
      Description copied from interface: Ability
      Fires at the end of the turn.
      Parameters:
      pw - The Pokémon with the Ability.
    • applySwitchInEffect

      public void applySwitchInEffect(PixelmonWrapper newPokemon)
      Description copied from interface: Ability
      Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
      Parameters:
      newPokemon - The Pokémon switching in.
    • applyEndOfBattleEffect

      public void applyEndOfBattleEffect(PixelmonWrapper pw)
      Description copied from interface: Ability
      Triggers at the end of the battle.
      Parameters:
      pw - The Pokémon in battle at the battle's end.