public class Unburden extends AbstractAbility
| Constructor and Description |
|---|
Unburden() |
| 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.
|
int[] |
modifyStats(PixelmonWrapper user,
int[] stats)
Modifies the Pokémon's stats at the beginning of a battle turn.
|
boolean |
needNewInstance()
Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
|
void |
onItemChanged(PixelmonWrapper pw,
HeldItem newItem) |
void |
tookDamageTarget(int damage,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Triggers after the Pokémon takes damage.
|
equals, getName, getNewInstance, getTranslationKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitadjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchOutEffect, 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, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsCancellableTeammate, modifyStatsOther, modifyStatsTeammate, modifyType, modifyWeight, onAbilityLost, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTargetAfterMove, tookDamageUsergetLocalizedName, getTranslatedNamepublic void onItemChanged(PixelmonWrapper pw, HeldItem newItem)
public int[] modifyStats(PixelmonWrapper user, int[] stats)
Abilityuser - The Pokémon.stats - The Pokémon's stats.public void tookDamageTarget(int damage,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Abilitydamage - The amount of damage dealt.user - The attack's user.target - The attack's target.a - The attack.public void applySwitchInEffect(PixelmonWrapper newPokemon)
AbilitynewPokemon - The Pokémon switching in.public boolean needNewInstance()
Ability