Class ZPowerHeal
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.ZPowerHeal
Heals the next Pokémon coming in to full hp.
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, typeFields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.voidTriggers when the statused Pokémon switches in.voidapplyRepeatedEffect(PixelmonWrapper holder) If the PartingShot failed and no switch occurred, remove the status at the end of the turn.booleanDetermines whether the status applies to the Pokémon's position in the battle.booleanDetermines whether the status applies to the Pokémon's side of the battle.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingMethods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, preventsRedirection, setChance, weightEffect
-
Constructor Details
-
ZPowerHeal
public ZPowerHeal()Initializes HealOnSwitch effect.
-
-
Method Details
-
applyEffect
Description copied from class:EffectBaseCauses various effects during the move.- Overrides:
applyEffectin classStatusBase- Parameters:
user- The move's user.target- The move's target.
-
isTeamStatus
public boolean isTeamStatus()Description copied from class:StatusBaseDetermines whether the status applies to the Pokémon's position in the battle.- Overrides:
isTeamStatusin classStatusBase- Returns:
- Whether the status applies to the Pokémon's position in the battle.
-
isWholeTeamStatus
public boolean isWholeTeamStatus()Description copied from class:StatusBaseDetermines whether the status applies to the Pokémon's side of the battle.- Overrides:
isWholeTeamStatusin classStatusBase- Returns:
- Whether the status applies to the Pokémon's side of the battle.
-
applyEffectOnSwitch
Description copied from class:StatusBaseTriggers when the statused Pokémon switches in.- Overrides:
applyEffectOnSwitchin classStatusBase- Parameters:
pw- The statused Pokémon.
-
applyRepeatedEffect
If the PartingShot failed and no switch occurred, remove the status at the end of the turn.- Overrides:
applyRepeatedEffectin classStatusBase- Parameters:
holder- The statused Pokémon.
-