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, typeFields inherited from class com.pixelmonmod.pixelmon.battles.attacks.EffectBase
modifiers -
Constructor Summary
ConstructorsConstructorDescriptionInitializes Light Screen with the default five turn duration.LightScreen(int turns) Initializes Light Screen with a custom duration. -
Method Summary
Modifier and TypeMethodDescriptionprotected ScreengetNewInstance(int effectTurns) Creates a new instance of the subclass.booleanMethods inherited from class com.pixelmonmod.pixelmon.battles.status.Screen
apply, applyEffect, applyRepeatedEffect, copy, getDamageMultiplier, ignoreStatus, isTeamStatus, modifyDamageIncludeFixed, weightEffectMethods 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, stopsSwitchingMethods 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:
shouldReducein classScreen
-
getNewInstance
Description copied from class:ScreenCreates a new instance of the subclass.- Specified by:
getNewInstancein classScreen- Parameters:
effectTurns- The number of turns for the screen to last.- Returns:
- A new instance of the subclass.
-