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

public class GulpMissile extends AbstractAbility
This ability is weird. When Surf or Dive is used, changes form based on % HP remaining. Then, when hit by an attack, deals retaliatory damage with a secondary effect based on the % HP from before. Dynamax ends this effect early.
  • Constructor Details

    • GulpMissile

      public GulpMissile()
  • Method Details

    • postProcessAttackUserHitOrMiss

      public void postProcessAttackUserHitOrMiss(PixelmonWrapper pokemon, PixelmonWrapper target, Attack a)
      Description copied from interface: Ability
      Triggers after the Pokémon attacks, no matter if the Pokémon hits or misses.
      Parameters:
      pokemon - The Pokémon with the Ability.
      target - The attack's target.
      a - The attack.
    • tookDamageTarget

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

      public void applySwitchOutEffect(PixelmonWrapper oldPokemon)
      Description copied from interface: Ability
      Triggers when the Pokémon switches out.
      Parameters:
      oldPokemon - The Pokémon switching out.
    • applyDynamaxEffect

      public void applyDynamaxEffect(PixelmonWrapper pokemon)
      Description copied from interface: Ability
      Triggers when the Pokémon Dynamaxes.
      Parameters:
      pokemon - The Pokémon Dynamaxing.
    • canBeDisabled

      public boolean canBeDisabled()
      Description copied from interface: Ability
      Returns whether the ability can be disabled by external effects eg. Neutralizing Gas.
      Returns:
      Whether the ability can be disabled.
    • worksWithTransformedPokemon

      public boolean worksWithTransformedPokemon()
      Description copied from interface: Ability
      Returns whether the ability is active for Transformed pokemon.
      Returns:
      Whether the ability can be used by transformed pokemon.