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

public class ShieldDust extends AbstractAbility
Removes the secondary effects of moves hitting this Pokémon.
  • Constructor Details

    • ShieldDust

      public ShieldDust()
  • Method Details

    • ignoresAdditionalEffectsFromAttacker

      public boolean ignoresAdditionalEffectsFromAttacker(EffectBase effect, PixelmonWrapper user, PixelmonWrapper attacker)
      Description copied from interface: Ability
      When overridden, allows the user's ability to ignore the additional effects of moves.
      Parameters:
      effect - What will potentially be ignored.
      user - The defending Pokémon with the ability.
      attacker - The Pokémon attacking.
    • 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.