Class Resonance
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.Screen
com.pixelmonmod.pixelmon.battles.status.AuroraVeil
com.pixelmonmod.pixelmon.battles.status.Resonance
-
Field Summary
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.AuroraVeil
user
Fields inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
battleTurnGained, turnGained, type
Fields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers
-
Constructor Summary
ConstructorDescriptionInitializes Resonance with the default five turn duration.Resonance
(int turns) Resonance
(PixelmonWrapper user, int turns) Initializes Resonance with a custom duration. -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffect
(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.protected Screen
getNewInstance
(int effectTurns) Creates a new instance of the subclass.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.AuroraVeil
getDamageMultiplier, shouldReduce, withUser
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.Screen
apply, applyRepeatedEffect, copy, ignoreStatus, isTeamStatus, modifyDamageIncludeFixed, weightEffect
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getNewInstance, isImmune, isWholeTeamStatus, modifyBaseStats, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onEndOfTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
Methods inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, canHitMultipleTargets, changeChance, checkChance, dealtDamage, dealtDamagePerHit, doesPersist, getChance, getWeightWithChance, isChance, isUser, modifyDamage, modifyPriority, modifyTargets, modifyTypeEffectiveness, modifyTypeEffectiveness, preventsRedirection, setChance
-
Constructor Details
-
Resonance
public Resonance()Initializes Resonance with the default five turn duration. -
Resonance
public Resonance(int turns) -
Resonance
Initializes Resonance with a custom duration.- Parameters:
user
- The user of the move.turns
- Number of turns for Resonance to last.
-
-
Method Details
-
applyEffect
Description copied from class:EffectBase
Causes various effects during the move.- Overrides:
applyEffect
in classAuroraVeil
- Parameters:
user
- The move's user.target
- The move's target.
-
getNewInstance
Creates a new instance of the subclass.- Overrides:
getNewInstance
in classAuroraVeil
- Parameters:
effectTurns
- The number of turns for the screen to last.- Returns:
- A new instance of the subclass.
-