public class Resonance extends Screen
type
modifiers
Constructor and Description |
---|
Resonance()
Initializes Resonance with the default five turn duration.
|
Resonance(int turns) |
Resonance(PixelmonWrapper user,
int turns)
Initializes Resonance with a custom duration.
|
Modifier and Type | Method and Description |
---|---|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
float |
getDamageMultiplier(PixelmonWrapper user,
PixelmonWrapper target) |
protected Screen |
getNewInstance(int effectTurns)
Creates a new instance of the subclass.
|
boolean |
shouldReduce(Attack a) |
Resonance |
withUser(PixelmonWrapper user) |
apply, applyRepeatedEffect, copy, ignoreStatus, isTeamStatus, modifyDamageIncludeFixed, 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 Resonance()
public Resonance(int turns)
public Resonance(PixelmonWrapper user, int turns)
user
- The user of the move.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.public Resonance withUser(PixelmonWrapper user)
public boolean shouldReduce(Attack a)
shouldReduce
in class Screen
public float getDamageMultiplier(PixelmonWrapper user, PixelmonWrapper target)
getDamageMultiplier
in class Screen
protected Screen getNewInstance(int effectTurns)
getNewInstance
in class Screen
effectTurns
- The number of turns for the screen to last.