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

public class Filter extends AbstractAbility
Reduces the damage of super effective moves to 75%.
  • Constructor Details

    • Filter

      public Filter()
  • 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.