public class Illusion extends AbstractAbility
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
disguisedForm
The form of the disguised Pokémon.
|
Gender |
disguisedGender
The gender of the Pokémon to be disguised as.
|
java.lang.String |
disguisedNickname
The name of the Pokémon to be disguised as.
|
java.lang.String |
disguisedPalette
The shiny value of the Pokémon to be disguised as.
|
java.lang.String |
disguisedParticlesResourceLocation
The shiny value of the Pokémon to be disguised as.
|
Species |
disguisedPokemon
The pokemon of Pokémon to be disguised as.
|
java.lang.String |
disguisedTexture
The texture of the Pokémon to be disguised as.
|
| Constructor and Description |
|---|
Illusion() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyEndOfBattleEffect(PixelmonWrapper pokemon)
Triggers at the end of the battle.
|
void |
applySwitchInEffect(PixelmonWrapper newPokemon)
Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
|
void |
applySwitchOutEffect(PixelmonWrapper oldPokemon)
Triggers when the Pokémon switches out.
|
void |
beforeSwitch(PixelmonWrapper newPokemon)
Triggers just before the Pokémon switches in.
|
boolean |
canBeIgnored()
Returns whether the ability can be bypassed by moves that ignore abilities or not.
|
boolean |
needNewInstance()
Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
|
void |
onAbilityLost(PixelmonWrapper pokemon)
Triggers just before the Pokémon loses an Ability in battle.
|
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, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchReplaceEffect, canAttackThisTurn, canBeCopied, canBeDisabled, 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, onAllyFaint, onBerryEaten, onDamageReceived, onFoeFaint, onHealed, onItemChanged, onItemConsumed, onSelfFaint, onStatDecrease, onStatIncrease, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttack, preProcessAttackStatBeforeDamageCalc, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsForcedSwitches, stopsSwitching, tookDamageTargetAfterMove, tookDamageUsergetLocalizedName, getTranslatedNamepublic Species disguisedPokemon
public java.lang.String disguisedNickname
public java.lang.String disguisedTexture
public Gender disguisedGender
public java.lang.String disguisedForm
public java.lang.String disguisedPalette
public java.lang.String disguisedParticlesResourceLocation
public void beforeSwitch(PixelmonWrapper newPokemon)
AbilitynewPokemon - The Pokémon switching in.public void applySwitchInEffect(PixelmonWrapper newPokemon)
AbilitynewPokemon - The Pokémon switching in.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 onAbilityLost(PixelmonWrapper pokemon)
Abilitypokemon - The Pokémon with the Ability.public void applySwitchOutEffect(PixelmonWrapper oldPokemon)
AbilityoldPokemon - The Pokémon switching out.public void applyEndOfBattleEffect(PixelmonWrapper pokemon)
Abilitypokemon - The Pokémon in battle at the battle's end.public boolean needNewInstance()
Abilitypublic boolean canBeIgnored()
Ability