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.
    • modifyMoveEffectChanceUser

      public void modifyMoveEffectChanceUser(PixelmonWrapper user, PixelmonWrapper target, List<EffectBase> effects)
      Description copied from interface: Ability
      Allows the user to adjust the move's effects
      Parameters:
      user - The attacking Pokemon, with the ability.
      target - The Pokemon being attacked.
      effects - The current effects of the attack.