public class Levitate extends AbstractAbility
Constructor and Description |
---|
Levitate() |
Modifier and Type | Method and Description |
---|---|
boolean |
allowsIncomingAttack(PixelmonWrapper pokemon,
PixelmonWrapper user,
Attack a)
Determines whether an incoming attack can hit the Pokémon
|
void |
allowsIncomingAttackMessage(PixelmonWrapper pokemon,
PixelmonWrapper user,
Attack a)
Sends a battle message when the Pokémon's Ability nullifies an attack.
|
equals, getName, getNewInstance, getTranslationKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adjustCriticalHitChance, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusOpponent, allowsStatusTeammate, alwaysConsideredDamaged, applyAllySwitchInEffect, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEffectOnStatModified, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyPostSwitchEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleEffect, applyStartOfBattleHeadOfPartyEffect, applySwitchInEffect, 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, 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, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUser
getLocalizedName, getTranslatedName
public boolean allowsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user, Attack a)
Ability
pokemon
- The Pokémon with the Ability.user
- The attack's user.a
- The attack.public void allowsIncomingAttackMessage(PixelmonWrapper pokemon, PixelmonWrapper user, Attack a)
Ability
pokemon
- The Pokémon with the Ability.user
- The attack's user.a
- The attack.