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

public class InnerFocus extends AbstractAbility
Prevents flinching.
  • Constructor Details

    • InnerFocus

      public InnerFocus()
  • Method Details

    • allowsStatus

      public boolean allowsStatus(StatusType status, PixelmonWrapper pokemon, PixelmonWrapper user)
      Description copied from interface: Ability
      Fires when a status attempts to apply.
      Parameters:
      status - StatusType.[whatever status] == status is the condition of the if statement.
      pokemon - The victim.
      user - The user.
      Returns:
      Whether the status can be afflicted.