public class Reflect extends Screen
typemodifiers| Constructor and Description |
|---|
Reflect()
Initializes Reflect Screen with the default five turn duration.
|
Reflect(int turns)
Initializes Reflect with a custom duration.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
protected Screen |
getNewInstance(int effectTurns)
Creates a new instance of the subclass.
|
apply, applyRepeatedEffect, copy, getDamageMultiplier, ignoreStatus, isTeamStatus, modifyDamageIncludeFixed, shouldReduce, weightEffectallowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, isImmune, isWholeTeamStatus, modifyBaseStats, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic Reflect()
public Reflect(int turns)
turns - Number of turns for Reflect to last.public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyEffect in class Screenuser - The move's user.target - The move's target.protected Screen getNewInstance(int effectTurns)
ScreengetNewInstance in class ScreeneffectTurns - The number of turns for the screen to last.