Class SpeedSwapStatus
java.lang.Object
com.pixelmonmod.pixelmon.battles.attacks.EffectBase
com.pixelmonmod.pixelmon.battles.status.StatusBase
com.pixelmonmod.pixelmon.battles.status.SpeedSwapStatus
-
Field Summary
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 TypeMethodDescriptionvoid
applyBeforeEffect
(PixelmonWrapper victim, PixelmonWrapper opponent) Triggers when the Pokémon gains the status.int[]
modifyStats
(PixelmonWrapper user, int[] stats) Modifies the Pokémon's stats at the beginning of a battle turn.Methods inherited from class com.pixelmonmod.pixelmon.battles.status.StatusBase
adjustCritStage, allowsStatChange, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyEffectiveTypes, modifyMoveEffectChanceTarget, modifyMoveEffectChanceUser, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, 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
-
Constructor Details
-
SpeedSwapStatus
public SpeedSwapStatus() -
SpeedSwapStatus
public SpeedSwapStatus(int newSpeed)
-
-
Method Details
-
applyBeforeEffect
Description copied from class:StatusBase
Triggers when the Pokémon gains the status.- Overrides:
applyBeforeEffect
in classStatusBase
- Parameters:
victim
- The statused Pokémon.opponent
- The attack's target.
-
modifyStats
Description copied from class:StatusBase
Modifies the Pokémon's stats at the beginning of a battle turn.- Overrides:
modifyStats
in classStatusBase
- Parameters:
user
- The Pokémon.stats
- The Pokémon's stats.- Returns:
- The modified stats.
-