java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.PowerOfAlchemy
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
Receiver

public class PowerOfAlchemy extends AbstractAbility
  • Constructor Details

    • PowerOfAlchemy

      public PowerOfAlchemy()
  • Method Details

    • onAllyFaint

      public void onAllyFaint(PixelmonWrapper pokemon, PixelmonWrapper fainted, 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.
      fainted - - The ally Pokémon that fainted.
      source - - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.