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

public class Harvest extends AbstractAbility
50% chance of regaining a previously consumed Berry every turn. 100% chance of activating in sun.
  • Constructor Details

    • Harvest

      public Harvest()
  • 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.
    • getMultiplier

      public float getMultiplier(AbstractSpawner spawner, SpawnInfo spawnInfo, float sum, float rarity)