public class Reflect extends Screen
type
modifiers
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, weightEffect
allowsStatChange, 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, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness
public Reflect()
public Reflect(int turns)
turns
- Number of turns for Reflect to last.public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBase
applyEffect
in class Screen
user
- The move's user.target
- The move's target.protected Screen getNewInstance(int effectTurns)
Screen
getNewInstance
in class Screen
effectTurns
- The number of turns for the screen to last.