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

public class Overcoat extends AbstractAbility
Blocks weather damage and powder moves.
  • Constructor Details

    • Overcoat

      public Overcoat()
  • Method Details

    • allowsIncomingAttack

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

      public static boolean isPowderMove(Attack a)
      Checks if a move is a powder move.
      Parameters:
      a - The move to check.
      Returns:
      Whether the move is a powder move.