public class FlowerGift extends AbstractAbility
PixelmonSpecies.CHERRIM
into sunshine form.Constructor and Description |
---|
FlowerGift() |
Modifier and Type | Method and Description |
---|---|
void |
applySwitchInEffect(PixelmonWrapper newPokemon)
Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
|
void |
applySwitchOutEffect(PixelmonWrapper pw)
Triggers when the Pokémon switches out.
|
int[] |
modifyStatsCancellableTeammate(PixelmonWrapper pokemon,
int[] stats)
Modifies an allied Pokémon's stats at the beginning of a battle turn.
|
int[] |
modifyStatsTeammate(PixelmonWrapper pokemon,
int[] stats)
Modifies an allied Pokémon's stats at the beginning of a battle turn.
|
void |
onAbilityLost(PixelmonWrapper pokemon)
Triggers just before the Pokémon loses an Ability in battle.
|
void |
onWeatherChange(PixelmonWrapper pw,
Weather weather)
Triggers when the weather changes.
|
equals, getName, getNewInstance, getTranslationKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchReplaceEffect, beforeSwitch, canAttackThisTurn, canBeCopied, canBeDisabled, canBeIgnored, canPerish, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getEffectiveTypes, getMultiplier, ignoreEvasion, ignoreWeather, isAbility, isAbility, isAbility, isNegativeAbility, modifyDamage, modifyDamageIncludeFixed, modifyDamageTarget, modifyDamageTeammate, modifyDamageUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyTeammate, modifyPowerAndAccuracyUser, modifyPriority, modifySelfDamage, modifyStab, modifyStats, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsOther, modifyType, modifyWeight, needNewInstance, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUser
getLocalizedName, getTranslatedName
public int[] modifyStatsTeammate(PixelmonWrapper pokemon, int[] stats)
Ability
pokemon
- The Pokémon to be modified.stats
- The Pokémon's stats.public int[] modifyStatsCancellableTeammate(PixelmonWrapper pokemon, int[] stats)
Ability
pokemon
- The Pokémon to be modified.stats
- The Pokémon's stats.public void onWeatherChange(PixelmonWrapper pw, Weather weather)
Ability
pw
- The Pokémon to affect with the weather change.weather
- The new weather.public void applySwitchInEffect(PixelmonWrapper newPokemon)
Ability
newPokemon
- The Pokémon switching in.public void applySwitchOutEffect(PixelmonWrapper pw)
Ability
pw
- The Pokémon switching out.public void onAbilityLost(PixelmonWrapper pokemon)
Ability
pokemon
- The Pokémon with the Ability.