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

public class Damp extends AbstractAbility
  • Constructor Details

    • Damp

      public Damp()
  • Method Details

    • allowsAttack

      public boolean allowsAttack(PixelmonWrapper pokemon, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from interface: Ability
      Determines whether an outgoing attack can hit the target.
      Parameters:
      pokemon - - The Pokémon with the ability
      user - - The user of the move
      target - - The target of this Pokémon's attack.
      a - - The attack
      Returns:
      Whether the attack can hit the target or not.
    • allowsIncomingAttack

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

      public void allowsIncomingAttackMessage(PixelmonWrapper target, PixelmonWrapper user, Attack a)
      Description copied from interface: Ability
      Sends a battle message when the Pokémon's Ability nullifies an attack.
      Parameters:
      target - The Pokémon with the Ability.
      user - The attack's user.
      a - The attack.