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

public class ToxicDebris extends AbstractAbility
  • Constructor Details

    • ToxicDebris

      public ToxicDebris()
  • Method Details

    • tookDamageTarget

      public void tookDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper opponent, 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.
      opponent - The attack's target.
      a - The attack.
    • canBeIgnored

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not.
      Returns:
      Whether the ability can be ignored.