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

public class SolarPower extends AbstractAbility
During intense sunlight, Solar Power increases the Pokémon's Special attack by 1.5x, but the Pokémon loses 1/8th of its maximum hp at the end of each turn.
  • Constructor Details

    • SolarPower

      public SolarPower()
  • Method Details

    • applyRepeatedEffect

      public void applyRepeatedEffect(PixelmonWrapper pokemon)
      Description copied from interface: Ability
      Fires at the end of the turn.
      Parameters:
      pokemon - The Pokémon with the Ability.
    • modifyStats

      public int[] modifyStats(PixelmonWrapper pokemon, int[] stats)
      Description copied from interface: Ability
      Modifies the Pokémon's stats at the beginning of a battle turn.
      Parameters:
      pokemon - The Pokémon.
      stats - The Pokémon's stats.
      Returns:
      The modified stats.