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

public class WellBakedBody extends AbstractAbility
When a Pokémon with Well-Baked Body is hit by a Fire-type move, its Defense is increased by two stages, and the move will have no effect on that Pokémon.
  • Constructor Details

    • WellBakedBody

      public WellBakedBody()
  • 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.