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

public class Rattled extends AbstractAbility
Increases speed when hit by a Bug, Dark, or Ghost move; or when affected by intimidate.
  • Constructor Details

    • Rattled

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

      public void activate(PixelmonWrapper target)