public class Pursuit extends SpecialAttackBase
modifiers
Constructor and Description |
---|
Pursuit() |
Modifier and Type | Method and Description |
---|---|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
AttackResult |
applyEffectStart(PixelmonWrapper user,
PixelmonWrapper target)
Causes effects before the move's power is calculated.
|
void |
switchOutRetreatingTarget(PixelmonWrapper user,
PixelmonWrapper target)
Execute the switch out effect of Parting Shot/Volt Switch/U-turn, since we had to interrupt its applyEffect(),
/* and skip its EnforcedSwitchOut(), in order to let Pursuit go first.
|
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.
|
applyAfterEffect, applyEffectDuring, cantMiss, ignoresWeather, modifyPriority
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness
public AttackResult applyEffectStart(PixelmonWrapper user, PixelmonWrapper target)
EffectBase
applyEffectStart
in class EffectBase
user
- The move's user.target
- The move's target.public void switchOutRetreatingTarget(PixelmonWrapper user, PixelmonWrapper target)
public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
SpecialAttackBase
applyEffect
in class SpecialAttackBase
user
- The move's user.target
- The move's target.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.