public class Commander extends AbstractAbility
| Constructor and Description |
|---|
Commander() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyAllySwitchInEffect(PixelmonWrapper pw,
PixelmonWrapper switched)
Triggers after an allied Pokémon switches in.
|
void |
applySwitchInEffect(PixelmonWrapper pw)
Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
|
void |
onAllyFaint(PixelmonWrapper pw,
PixelmonWrapper fainted,
PixelmonWrapper source)
Triggers right after an allied Pokémon faints.
|
void |
onSelfFaint(PixelmonWrapper self,
PixelmonWrapper source)
Triggers right after an allied Pokémon faints.
|
equals, getName, getNewInstance, getTranslationKey, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitadjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, 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, modifyStats, modifyStatsCancellable, modifyStatsCancellableOther, modifyStatsCancellableTeammate, modifyStatsOther, modifyStatsTeammate, modifyType, modifyWeight, needNewInstance, onAbilityLost, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUsergetLocalizedName, getTranslatedNamepublic void applySwitchInEffect(PixelmonWrapper pw)
Abilitypw - The Pokémon switching in.public void applyAllySwitchInEffect(PixelmonWrapper pw, PixelmonWrapper switched)
Abilitypw - The Pokémon with the ability.switched - The allied Pokémon switching in.public void onAllyFaint(PixelmonWrapper pw, PixelmonWrapper fainted, PixelmonWrapper source)
Abilitypw - - The Pokémon with the ability. Not the one fainting.fainted - - The ally Pokémon that fainted.source - - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.public void onSelfFaint(PixelmonWrapper self, PixelmonWrapper source)
Abilityself - - The Pokémon with the ability.source - - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.