java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.Dazzling
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
ArmorTail, QueenlyMajesty

public class Dazzling extends AbstractAbility
  • Constructor Details

    • Dazzling

      public Dazzling()
  • Method Details

    • allowsIncomingAttackTeammate

      public boolean allowsIncomingAttackTeammate(PixelmonWrapper pokemon, PixelmonWrapper target, PixelmonWrapper user, Attack a)
      Description copied from interface: Ability
      Determines whether an incoming attack can hit a teammate Pokémon
      Parameters:
      pokemon - The Pokémon with the Ability.
      target - The teammate being targeted.
      user - The attack's user.
      a - The attack.
      Returns:
      Whether the attack can hit the Pokémon.
    • shouldBlockAttack

      public static boolean shouldBlockAttack(PixelmonWrapper user, PixelmonWrapper target, Attack a)
    • 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.