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

public class SuctionCups extends AbstractAbility
  • Constructor Details

    • SuctionCups

      public SuctionCups()
  • Method Details

    • stopsForcedSwitches

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

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not. e.g. Moldbreaker or G-Max Drum Solo
      Returns:
      Whether the ability can be ignored.