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

public class NeutralizingGas extends AbstractAbility
Nullifies a large majority of abilities. Any switch-in abilities immediately activate once this goes away.
  • Constructor Details

    • NeutralizingGas

      public NeutralizingGas()
  • Method Details

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

      public void onSelfFaint(PixelmonWrapper pokemon, PixelmonWrapper source)
      Description copied from interface: Ability
      Triggers right after an allied Pokémon faints.
      Parameters:
      pokemon - - The Pokémon with the ability.
      source - - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.
    • onAbilityLost

      public void onAbilityLost(PixelmonWrapper pokemon)
      Description copied from interface: Ability
      Triggers just before the Pokémon loses an Ability in battle.
      Parameters:
      pokemon - The Pokémon with the Ability.
    • applySwitchOutEffect

      public void applySwitchOutEffect(PixelmonWrapper oldPokemon)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      oldPokemon - The Pokémon switching out.
    • isAbilityDisabled

      public static boolean isAbilityDisabled(Ability ability)
    • isSuppressed

      public boolean isSuppressed()