public class Revenant extends AbstractAbility
Constructor and Description |
---|
Revenant() |
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.
|
void |
applySwitchInEffect(PixelmonWrapper newPokemon)
Triggers after the Pokémon switches in and when the Pokémon gains an Ability.
|
int |
modifyDamageIncludeFixed(int damage,
PixelmonWrapper user,
PixelmonWrapper pokemon,
Attack a)
Triggers when the Pokémon takes direct damage, including fixed damage moves.
|
int |
modifyDamageTarget(int damage,
PixelmonWrapper user,
PixelmonWrapper pokemon,
Attack a)
Triggers when the Pokémon takes direct damage.
|
boolean |
needNewInstance()
Checks if a new instance of the Ability needs to be initialized if a Pokémon receives it in battle.
|
int |
onHealed(PixelmonWrapper pw,
int heal)
Fired whenever a Pokémon is about to be healed.
|
void |
preProcessAttack(PixelmonWrapper pokemon,
PixelmonWrapper user,
Attack a)
Triggers before the Pokémon is attacked.
|
equals, getName, getNewInstance, getTranslationKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adjustCriticalHitChance, allowsIncomingAttackTeammate, allowsOutgoingAttack, allowsStatChange, allowsStatChangeTeammate, allowsStatus, allowsStatusTeammate, applyDynamaxEffect, applyEffectOnContactTarget, applyEffectOnContactTargetLate, applyEffectOnContactUser, applyEndOfBattleEffect, applyFoeSwitchInEffect, applyRepeatedEffect, applyRepeatedEffectAfterStatus, applyStartOfBattleHeadOfPartyEffect, applySwitchOutEffect, beforeSwitch, canAttackThisTurn, canBeIgnored, doesAttackUserIgnoreProtect, doesContactAttackMakeContact, getEffectiveTypes, getMultiplier, ignoreWeather, isAbility, isAbility, isAbility, isNegativeAbility, modifyDamageTeammate, modifyDamageUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyTeammate, modifyPowerAndAccuracyUser, modifyPriority, modifyStab, modifyStats, modifyStatsCancellable, modifyStatsCancellableTeammate, modifyStatsTeammate, modifyType, modifyWeight, onAbilityLost, onAllyFaint, onDamageReceived, onFoeFaint, onItemChanged, onItemConsumed, onSelfFaint, onStatusAdded, onTerrainSwitch, onWeatherChange, postProcessAttack, postProcessAttackOther, postProcessAttackUser, postProcessAttackUserHitOrMiss, preProcessAttackUser, preventsCriticalHits, redirectAttack, sendActivatedMessage, startMove, stopsSwitching, tookDamageTarget, tookDamageTargetAfterMove, tookDamageUser
getLocalizedName, getTranslatedName
public int onHealed(PixelmonWrapper pw, int heal)
Ability
pw
- The Pokémon being healed.heal
- The heal amount.public int modifyDamageIncludeFixed(int damage, PixelmonWrapper user, PixelmonWrapper pokemon, Attack a)
Ability
damage
- The amount of damage dealt.user
- The attack's user.pokemon
- The attack's target.a
- The attack.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.public void applySwitchInEffect(PixelmonWrapper newPokemon)
Ability
newPokemon
- The Pokémon switching in.public void preProcessAttack(PixelmonWrapper pokemon, PixelmonWrapper user, Attack a)
Ability
pokemon
- The Pokémon with the Ability.user
- The attack's user.a
- The attack.public int modifyDamageTarget(int damage, PixelmonWrapper user, PixelmonWrapper pokemon, Attack a)
Ability
damage
- The amount of damage dealt.user
- The attack's user.pokemon
- The attack's target.a
- The attack.public boolean needNewInstance()
Ability