java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.OfRuin
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
BeadsOfRuin, SwordOfRuin, TabletsOfRuin, VesselOfRuin

public abstract class OfRuin extends AbstractAbility
Decreases a stat by 25% of all Pokémon except the owner of the ability.
  • Constructor Details

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

      public void onAbilityLost(PixelmonWrapper pw)
      Description copied from interface: Ability
      Triggers just before the Pokémon loses an Ability in battle.
      Parameters:
      pw - 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.
    • 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.
    • getStat

      public BattleStatsType getStat()