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

    • 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.
    • canBeRoleplayed

      public boolean canBeRoleplayed()
      Description copied from interface: Ability
      Returns whether the ability can be copied via Roleplay.
      Returns:
      Whether the ability can be copied.
    • canBeReceived

      public boolean canBeReceived()
      Description copied from interface: Ability
      Returns whether the ability can be copied from an ally via Receiver.
      Returns:
      Whether the ability can be Received from an ally.
    • canBeEntrained

      public boolean canBeEntrained()
      Description copied from interface: Ability
      Returns whether the ability can be transferred via Entrainment.
      Returns:
      Whether the ability can be set on opponent.
    • canBeTraced

      public boolean canBeTraced()
      Description copied from interface: Ability
      Returns whether the ability can be copied via Trace.
      Returns:
      Whether the ability can be Traced.
    • canBeSwapped

      public boolean canBeSwapped()
      Description copied from interface: Ability
      Returns whether the ability can be part of a Skill Swap exchange.
      Returns:
      Whether the ability can be swapped.
    • canBeDisabled

      public boolean canBeDisabled()
      Description copied from interface: Ability
      Returns whether the ability can be disabled by external effects eg. Neutralizing Gas.
      Returns:
      Whether the ability can be disabled.
    • worksWithTransformedPokemon

      public boolean worksWithTransformedPokemon()
      Description copied from interface: Ability
      Returns whether the ability is active for Transformed pokemon.
      Returns:
      Whether the ability can be used by transformed pokemon.