Class Pumped
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.Pumped
Increases crit stage by 1 for each layer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intThe current number of boots from the Pumped status.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintAdjusts the number of crit rate stages for an attack.copy()If necessary, makes a deep copy of the status.intGets the current number of boosts present.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, 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, preventsRedirection, setChance, weightEffect
-
Field Details
-
numBoosts
protected transient int numBoostsThe current number of boots from the Pumped status.
-
-
Constructor Details
-
Pumped
public Pumped(int boosts) Initializes the status.- Parameters:
boosts- The number of crit stages this status increases.
-
Pumped
public Pumped()Initializes the status with 2 crit stage boosts.
-
-
Method Details
-
getNumBoosts
public int getNumBoosts()Gets the current number of boosts present.- Returns:
- The current number of stage boosts.
-
adjustCritStage
Description copied from class:StatusBaseAdjusts the number of crit rate stages for an attack.- Overrides:
adjustCritStagein classStatusBase- Parameters:
pw- The Pokémon with the status- Returns:
- The critical stage boost
-
copy
Description copied from class:StatusBaseIf necessary, makes a deep copy of the status.- Overrides:
copyin classStatusBase- Returns:
- A deep copy of the status.
-