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

public class Defiant extends AbstractAbility
When a stat of a Pokémon with this Ability is lowered by an opponent, its Attack is increased by two stages.
  • Constructor Details

    • Defiant

      public Defiant()
  • Method Details

    • onStatDecrease

      public void onStatDecrease(PixelmonWrapper abilityUser, PixelmonWrapper cause, PixelmonWrapper affected, int amount, BattleStatsType stat)
      Description copied from interface: Ability
      Triggers when one of the holder's stats are decreased.
      Parameters:
      abilityUser - The Pokémon whose ability it is.
      cause - The Pokémon that caused stat decrease.
      affected - The Pokémon whose stat was decreased.
      amount - The size of the decrease.
      stat - The stat that was decreased.