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

public class CursedBody extends AbstractAbility
30% chance to disable a damaging move that hits the Pokémon.
  • Constructor Details

    • CursedBody

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