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

public class SoulHeart extends AbstractAbility
  • Constructor Details

    • SoulHeart

      public SoulHeart()
  • Method Details

    • onAllyFaint

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

      public void onFoeFaint(PixelmonWrapper pokemon, PixelmonWrapper foe, PixelmonWrapper source)
      Description copied from interface: Ability
      Triggers right after a foe faints.
      Parameters:
      pokemon - - The Pokémon with the ability. Not the one fainting.
      foe - - The opponent Pokémon that fainted.
      source - - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.