Class Octolock
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.MeanLook
com.pixelmonmod.pixelmon.battles.status.Octolock
Created by Jay113355 on 7/12/2020.
Implemented as Mean Look, but reduces Defense stats every turn.
https://bulbapedia.bulbagarden.net/wiki/Octolock
-
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
ConstructorsConstructorDescriptionOctolock()Initializes the status.Octolock(PixelmonWrapper locker) Initializes Octolock. -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEffect(PixelmonWrapper user, PixelmonWrapper target) Causes various effects during the move.voidTriggered at the end of every turn.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.MeanLook
onEndOfTurn, stopsSwitchingMethods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onDynamaxTriggered, onEndOfAttackersTurn, onFormChanged, redirectAttack, skipsTurn, stopsEvolution, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChangeMethods 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, weightEffect
-
Constructor Details
-
Octolock
public Octolock()Initializes the status. -
Octolock
Initializes Octolock.- Parameters:
locker- The Pokémon who used Octolock.
-
-
Method Details
-
applyEffect
Description copied from class:EffectBaseCauses various effects during the move.- Overrides:
applyEffectin classMeanLook- Parameters:
user- The move's user.target- The move's target.
-
applyRepeatedEffect
Description copied from class:StatusBaseTriggered at the end of every turn.- Overrides:
applyRepeatedEffectin classMeanLook- Parameters:
pw- The statused Pokémon.
-