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

public class CottonDown extends AbstractAbility
When hit, lower the speed of all other pokemon in battle
  • Constructor Details

    • CottonDown

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