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

    • modifyMoveEffectChanceTarget

      public void modifyMoveEffectChanceTarget(PixelmonWrapper user, PixelmonWrapper target, List<EffectBase> effects)
      Description copied from interface: Ability
      Allows the target to adjust the move's effects, such as disabling effects from CovertCloak
      Parameters:
      user - The attacking Pokemon.
      target - The Pokemon being attacked, with the ability.
      effects - The current effects of the attack.
    • 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.