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

public class WindPower extends AbstractAbility
When a Pokémon with Wind Power is hit by a wind move or when Tailwind takes effect, it gains the Charge status.
  • Constructor Details

    • WindPower

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

      public void onStatusAdded(StatusBase status, PixelmonWrapper user, PixelmonWrapper opponent)
      Description copied from interface: Ability
      Triggers when the Pokémon acquires a status.
      Parameters:
      status - The status that was added.
      user - The statused Pokémon.
      opponent - The Pokémon who caused the status.