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

public class ShadowTag extends AbstractAbility
Prevents the opposing Pokémon from switching out.
  • Constructor Details

    • ShadowTag

      public ShadowTag()
  • Method Details

    • stopsSwitching

      public boolean stopsSwitching(PixelmonWrapper user, PixelmonWrapper opponent)
      Description copied from interface: Ability
      Determines whether the Pokemon's Ability traps another Pokémon.
      Parameters:
      user - The Pokémon with the Ability.
      opponent - The Pokémon affected by the Ability.
      Returns:
      Whether the opponent is trapped.