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

public class WeakArmor extends AbstractAbility
Lowers Defense and raises speed when hit by a physical move.
  • Constructor Details

    • WeakArmor

      public WeakArmor()
  • Method Details

    • tookDamageTarget

      public void tookDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper opponent, Attack a)
      Description copied from interface: Ability
      Triggers after the Pokémon takes damage.
      Parameters:
      damage - The amount of damage dealt.
      user - The attack's user.
      opponent - The attack's target.
      a - The attack.