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

public class Multiscale extends AbstractAbility
Halves direct damage when at full health.
  • Constructor Details

    • Multiscale

      public Multiscale()
  • Method Details

    • modifyDamageTarget

      public int modifyDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper pokemon, Attack a)
      Description copied from interface: Ability
      Triggers when the Pokémon takes direct damage.
      Parameters:
      damage - The amount of damage dealt.
      user - The attack's user.
      pokemon - The attack's target.
      a - The attack.
      Returns:
      The modified damage.
    • canBeIgnored

      public boolean canBeIgnored()
      Description copied from interface: Ability
      Returns whether the ability can be bypassed by moves that ignore abilities or not. e.g. Moldbreaker or G-Max Drum Solo
      Returns:
      Whether the ability can be ignored.