Class LightScreen
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.LightScreen
Raises the Special Defense of Pokémon on the user's side.
-
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 Light Screen with the default five turn duration.LightScreen
(int turns) Initializes Light Screen with a custom duration. -
Method Summary
Modifier and TypeMethodDescriptionprotected Screen
getNewInstance
(int effectTurns) Creates a new instance of the subclass.boolean
Methods inherited from class com.pixelmonmod.pixelmon.battles.status.Screen
apply, applyEffect, applyRepeatedEffect, copy, getDamageMultiplier, 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
-
LightScreen
public LightScreen()Initializes Light Screen with the default five turn duration. -
LightScreen
public LightScreen(int turns) Initializes Light Screen with a custom duration.- Parameters:
turns
- Number of turns for Light Screen to last.
-
-
Method Details
-
shouldReduce
- Overrides:
shouldReduce
in classScreen
-
getNewInstance
Description copied from class:Screen
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.
-