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

public class LongReach extends AbstractAbility
If the Pokémon uses a contact move, it will not activate any effects caused by contact.
  • Constructor Details

    • LongReach

      public LongReach()
  • Method Details

    • ignoresContactEffectsFromTarget

      public boolean ignoresContactEffectsFromTarget(PixelmonWrapper itemHolder, PixelmonWrapper target)
      Description copied from interface: Ability
      When overridden, allows an ability to ignore any effects from the target that would occur due to contact.
      Parameters:
      itemHolder - The Pixelmon with the ability that is also attacking.
      target - The defending Pixelmon that has contact effects that could activate.
      Returns:
      True if contact effects will be ignored.