public abstract class ProtectVariationTeam extends ProtectVariation
typemodifiers| 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, stopsIncomingAttackallowsStatChange, 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, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffectpublic ProtectVariationTeam(StatusType type)
type - The type of status.protected boolean addStatus(PixelmonWrapper user)
ProtectVariationaddStatus in class ProtectVariationuser - The user of the move.public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyEffect in class ProtectVariationuser - The move's user.target - The move's target.public boolean isTeamStatus()
StatusBaseisTeamStatus in class StatusBasepublic void applyRepeatedEffect(PixelmonWrapper pw)
StatusBaseapplyRepeatedEffect in class StatusBasepw - The statused Pokémon.protected boolean canFail()
ProtectVariationcanFail in class ProtectVariationpublic abstract ProtectVariationTeam getNewInstance()