java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.EmergencyExit
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
WimpOut

public class EmergencyExit extends AbstractAbility
  • Constructor Details

    • EmergencyExit

      public EmergencyExit()
  • Method Details

    • tookDamageTargetAfterMove

      public void tookDamageTargetAfterMove(PixelmonWrapper user, PixelmonWrapper target, Attack a, float damage)
      Description copied from interface: Ability
      Triggers at the end of an attack (after all hits of a multi-hit move) if the user takes damage.
      Parameters:
      user - The attack's user.
      target - The attack's target.
      a - The attack.
    • onDamageReceived

      public void onDamageReceived(PixelmonWrapper user, PixelmonWrapper pokemon, Attack a, int damage, DamageTypeEnum damagetype)