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

public class Forewarn extends AbstractAbility
Displays the opponent's most dangerous move.
  • Field Details

    • exceptionMoves

      public static HashMap<String,Integer> exceptionMoves
      Variable power moves that are assigned a base power for the purposes of Forewarn.
  • Constructor Details

    • Forewarn

      public Forewarn()
      Initializes Forewarn.
  • Method Details

    • applySwitchInEffect

      public void applySwitchInEffect(PixelmonWrapper newPokemon)
      Description copied from interface: Ability
      Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
      Parameters:
      newPokemon - The Pokémon switching in.