Class ChiStrikeStatus
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.ChiStrikeStatus
Increases crit stage by 1 for each layer. Cannot be passed by BatonPass.
-
Field Summary
Modifier and TypeFieldDescriptionprotected int
The current number of boots from the ChiStrike.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.static void
copy()
If necessary, makes a deep copy of the status.int
Gets the current number of boosts present.void
Adds another boost to the count.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 ChiStrike.
-
-
Constructor Details
-
ChiStrikeStatus
public ChiStrikeStatus()Initializes the status.
-
-
Method Details
-
getNumBoosts
public int getNumBoosts()Gets the current number of boosts present.- Returns:
- The current number of stage boosts.
-
increaseBoosts
public void increaseBoosts()Adds another boost to the count. -
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.
-
applyStatus
-