public abstract class ProtectVariationTeam extends ProtectVariation
type
modifiers
Constructor and Description |
---|
ProtectVariationTeam(StatusType type)
Initializes the status.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
addStatus(PixelmonWrapper user)
Adds the status to the user.
|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
void |
applyRepeatedEffect(PixelmonWrapper pw)
Triggered at the end of every turn.
|
protected boolean |
canFail()
Checks if the move can fail when used in succession.
|
abstract ProtectVariationTeam |
getNewInstance()
Gets a new instance of the status.
|
boolean |
isTeamStatus()
Determines whether the status applies to the Pokémon's position in the battle.
|
displayMessage, modifyDamageIncludeFixed, stopsIncomingAttack
allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isWholeTeamStatus, modifyBaseStats, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public ProtectVariationTeam(StatusType type)
type
- The type of status.protected boolean addStatus(PixelmonWrapper user)
ProtectVariation
addStatus
in class ProtectVariation
user
- The user of the move.public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBase
applyEffect
in class ProtectVariation
user
- The move's user.target
- The move's target.public boolean isTeamStatus()
StatusBase
isTeamStatus
in class StatusBase
public void applyRepeatedEffect(PixelmonWrapper pw)
StatusBase
applyRepeatedEffect
in class StatusBase
pw
- The statused Pokémon.protected boolean canFail()
ProtectVariation
canFail
in class ProtectVariation
public abstract ProtectVariationTeam getNewInstance()