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

public class GuardDog extends AbstractAbility
Lowers the attack of opponents by one stage upon switching in.
  • Constructor Details

    • GuardDog

      public GuardDog()
  • Method Details

    • activate

      public void activate(PixelmonWrapper pw)
    • stopsForcedSwitches

      public boolean stopsForcedSwitches(PixelmonWrapper pw, PixelmonWrapper cause)
      Description copied from interface: Ability
      Determines whether the Pokémon's Ability prevents another Pokémon from switching them.
      Parameters:
      pw - The Pokémon with the Ability.
      cause - The Pokémon triggering the switch.
      Returns:
      Whether the user stays in.