public class GlaiveRushLock extends StatusBase
type
modifiers
Constructor and Description |
---|
GlaiveRushLock() |
GlaiveRushLock(PixelmonWrapper target) |
Modifier and Type | Method and Description |
---|---|
int[] |
modifyPowerAndAccuracyUser(int power,
int accuracy,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Modifies the power and accuracy of the attack used by the statused Pokémon.
|
void |
onAttackUsed(PixelmonWrapper user,
Attack attack)
Triggers when the Pokémon uses an attack.
|
void |
weightEffect(PixelmonWrapper pw,
MoveChoice userChoice,
java.util.List<MoveChoice> userChoices,
java.util.List<MoveChoice> bestUserChoices,
java.util.List<MoveChoice> opponentChoices,
java.util.List<MoveChoice> bestOpponentChoices)
Determines a weight for the move that has this effect.
|
allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness
public GlaiveRushLock()
public GlaiveRushLock(PixelmonWrapper target)
public int[] modifyPowerAndAccuracyUser(int power, int accuracy, PixelmonWrapper user, PixelmonWrapper target, Attack a)
StatusBase
modifyPowerAndAccuracyUser
in class StatusBase
power
- The attack's power.accuracy
- The attack's accuracy.user
- The attack's user.target
- The attack's target.a
- The attack.public void onAttackUsed(PixelmonWrapper user, Attack attack)
StatusBase
onAttackUsed
in class StatusBase
user
- The attack's user.attack
- The attack.public void weightEffect(PixelmonWrapper pw, MoveChoice userChoice, java.util.List<MoveChoice> userChoices, java.util.List<MoveChoice> bestUserChoices, java.util.List<MoveChoice> opponentChoices, java.util.List<MoveChoice> bestOpponentChoices)
EffectBase
weightEffect
in class EffectBase
pw
- The Pokémon using the move.userChoice
- The move with this effect.userChoices
- All choices the Pokémon has for the turn.bestUserChoices
- The best offensive choices the Pokémon has for the turn.opponentChoices
- All choices the opponent has for the turn.bestOpponentChoices
- The best choices the opponent has for the turn.