java.lang.Object
com.pixelmonmod.pixelmon.api.pokemon.ability.AbstractAbility
com.pixelmonmod.pixelmon.api.pokemon.ability.abilities.Stalwart
All Implemented Interfaces:
Ability, RarityTweak, ITranslatable
Direct Known Subclasses:
PropellerTail

public class Stalwart extends AbstractAbility
Stalwart makes its user's moves ignore the target-redirecting effects of moves and Abilities.
  • Constructor Details

    • Stalwart

      public Stalwart()
  • Method Details

    • preventsRedirection

      public boolean preventsRedirection(PixelmonWrapper user, Attack attack)
      Description copied from interface: Ability
      Prevents redirection abilities and moves from changing the targets of the user's attacks
      Parameters:
      user - The Pokémon with the Ability.
      attack - The attack.
      Returns:
      Whether the attack is redirected to the Pokémon with the Ability.