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

public class SheerForce extends AbstractAbility
Increases the power of moves with secondary effects by 30%, and removes the secondary effects.
  • Field Details

    • powerModified

      public boolean powerModified
  • Constructor Details

    • SheerForce

      public SheerForce()
  • Method Details

    • startMove

      public void startMove(PixelmonWrapper pw)
      Description copied from interface: Ability
      Affects the Pokémon at the start of using a move.
      Parameters:
      pw - The Pokémon with the Ability.
    • modifyPowerAndAccuracyUser

      public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
      Description copied from interface: Ability
      Modifies the power and accuracy of the Pokémon's attack.
      Parameters:
      power - The attack's power.
      accuracy - The attack's accuracy.
      user - The attack's user.
      target - The attack's target.
      a - The attack.
      Returns:
      The modified power and accuracy.
    • ignoresAdditionalEffectsAgainstTarget

      public boolean ignoresAdditionalEffectsAgainstTarget(EffectBase effect, PixelmonWrapper abilityUser)
      Description copied from interface: Ability
      When overridden, allows the user's ability to ignore the additional effects of moves.
      Parameters:
      effect - What will potentially be ignored.
      abilityUser - The Pokémon with the ability that is attacking.
    • needNewInstance

      public boolean needNewInstance()
      Description copied from interface: Ability
      Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
      Returns:
      Whether a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.