public class SoulHeart extends AbstractAbility
Constructor and Description |
---|
SoulHeart() |
Modifier and Type | Method and Description |
---|---|
void |
onAllyFaint(PixelmonWrapper pokemon,
PixelmonWrapper ally,
PixelmonWrapper source)
Triggers right after an allied Pokémon faints.
|
void |
onFoeFaint(PixelmonWrapper pokemon,
PixelmonWrapper foe,
PixelmonWrapper source)
Triggers right after a foe faints.
|
equals, getName, getNewInstance, getTranslationKey, hashCode
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
adjustCriticalHitChance, allowsIncomingAttack, allowsIncomingAttackMessage, 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, onBerryEaten, onDamageReceived, 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 void onAllyFaint(PixelmonWrapper pokemon, PixelmonWrapper ally, PixelmonWrapper source)
Ability
pokemon
- - The Pokémon with the ability. Not the one fainting.ally
- - 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 onFoeFaint(PixelmonWrapper pokemon, PixelmonWrapper foe, PixelmonWrapper source)
Ability
pokemon
- - The Pokémon with the ability. Not the one fainting.foe
- - The opponent Pokémon that fainted.source
- - The ultimate cause of the fainting. Self inflicted or global causes give the fainted as the source.