Class AuroraVeil
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
- Direct Known Subclasses:
Resonance
Created by Jay113355 on 3/19/2019.
-
Field Summary
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 Aurora Veil with the default five turn duration.AuroraVeil
(int turns) AuroraVeil
(PixelmonWrapper user, int turns) Initializes Aurora Veil with a custom duration. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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
withUser
(PixelmonWrapper user) 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
-
Field Details
-
user
-
-
Constructor Details
-
AuroraVeil
public AuroraVeil()Initializes Aurora Veil with the default five turn duration. -
AuroraVeil
public AuroraVeil(int turns) -
AuroraVeil
Initializes Aurora Veil with a custom duration.- Parameters:
user
- The user of the move.turns
- Number of turns for Reflect to last.
-
-
Method Details
-
applyEffect
Description copied from class:EffectBase
Causes various effects during the move.- Overrides:
applyEffect
in classScreen
- Parameters:
user
- The move's user.target
- The move's target.
-
withUser
-
shouldReduce
- Overrides:
shouldReduce
in classScreen
-
getDamageMultiplier
- Overrides:
getDamageMultiplier
in classScreen
-
getNewInstance
Creates a new instance of the subclass.- Specified by:
getNewInstance
in classScreen
- Parameters:
effectTurns
- The number of turns for the screen to last.- Returns:
- A new instance of the subclass.
-