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

    • getEffectiveTypes

      public List<Element> getEffectiveTypes(PixelmonWrapper user, PixelmonWrapper target)
      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.
      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.