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

public class Trace extends AbstractAbility
Copies the opponent's Ability.
  • Field Details

    • brokenByNullAbility

      public boolean brokenByNullAbility
  • Constructor Details

    • Trace

      public Trace()
  • 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.
    • applyFoeSwitchInEffect

      public void applyFoeSwitchInEffect(PixelmonWrapper user, PixelmonWrapper newPokemon, PixelmonWrapper former)
      Description copied from interface: Ability
      Triggers after an enemy Pokémon switches in.