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

public class MindsEye extends AbstractAbility
  • Constructor Details

    • MindsEye

      public MindsEye()
  • Method Details

    • modifyEffectiveTypes

      public List<Element> modifyEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target, List<Element> types)
      Description copied from interface: Ability
      Returns the types that will be used in calculating the Pokémon's attack's type effectiveness.
      Parameters:
      user - The attack's user.
      target - The attack's target.
      types - The current effective types of the target.
      Returns:
      The target's modified types.
    • allowsStatChange

      public boolean allowsStatChange(PixelmonWrapper pokemon, PixelmonWrapper user, StatsEffect e)
      Description copied from interface: Ability
      Whether the Pokémon Ability allows a stat to be modified.
      Parameters:
      pokemon - The Pokémon with the Ability.
      user - The attack's user.
      e - The stat modifier.
      Returns:
      Whether the stat modifier can occur.
    • ignoreEvasion

      public boolean ignoreEvasion()
      Description copied from interface: Ability
      Determines whether the Ability ignores the opponent's evasion.
      Returns:
      Whether the Ability ignores evasion.
    • 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.