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.