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
Modifier and TypeFieldDescriptionprotected int
The current number of boots from the Pumped status.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
-
Method Summary
Modifier and TypeMethodDescriptionint
Adjusts the number of crit rate stages for an attack.copy()
If necessary, makes a deep copy of the status.int
Gets 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, 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, 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:StatusBase
Adjusts the number of crit rate stages for an attack.- Overrides:
adjustCritStage
in classStatusBase
- Parameters:
pw
- The Pokémon with the status- Returns:
- The critical stage boost
-
copy
Description copied from class:StatusBase
If necessary, makes a deep copy of the status.- Overrides:
copy
in classStatusBase
- Returns:
- A deep copy of the status.
-