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

public class ToxicChain extends AbstractAbility
Adds a 30% chance to badly poison the opponent on attacks.
  • Constructor Details

    • ToxicChain

      public ToxicChain()
  • Method Details

    • tookDamageUser

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