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

public class AngerPoint extends AbstractAbility
Maximizes the Pokémon's attack if it gets hit by a critical hit.
  • Field Details

    • wasCrit

      public boolean wasCrit
  • Constructor Details

    • AngerPoint

      public AngerPoint()
  • Method Details

    • tookDamageTarget

      public void tookDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper target, 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.
      target - The attack's target.
      a - The attack.