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

public class Moxie extends AbstractAbility
Increases attack by one stage when the user KOs a Pokémon.
  • Constructor Details

    • Moxie

      public Moxie()
  • Method Details

    • tookDamageUser

      public void tookDamageUser(int damage, PixelmonWrapper user, PixelmonWrapper pokemon, Attack a)
      Description copied from interface: Ability
      Triggers after the Pokémon deals damage.
      Parameters:
      damage - The amount of damage dealt.
      user - The attack's user.
      pokemon - The attack's target.
      a - The attack.