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
FieldsModifier and TypeFieldDescriptionprotected intThe current number of boots from the ChiStrike.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.static voidcopy()If necessary, makes a deep copy of the status.intGets the current number of boosts present.voidAdds 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, 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, 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: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.
-
applyStatus
-