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

public class Aftermath extends AbstractAbility
Damages an attacking Pokémon by 25% hp if it faints the user with a contact move.
  • Constructor Details

    • Aftermath

      public Aftermath()
  • Method Details

    • applyEffectOnContactTarget

      public void applyEffectOnContactTarget(PixelmonWrapper user, PixelmonWrapper target)
      Description copied from interface: Ability
      Triggers when another Pokémon makes contact with this Pokémon.
      Parameters:
      user - The attack's user.
      target - The attack's target.