public class SkullBash extends MultiTurnCharge
modifiers
Constructor and Description |
---|
SkullBash() |
Modifier and Type | Method and Description |
---|---|
AttackResult |
applyEffectDuring(PixelmonWrapper user,
PixelmonWrapper target)
Triggers before the move hits the target.
|
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.
|
applyMissEffect, cantMiss, isCharging, removeEffect, shouldNotLosePP
applyEffect, decrementTurnCount, doesPersist, getTurnCount, ignoresType, setPersists, setTurnCount
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, changeChance, checkChance, dealtDamage, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness
public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
MultiTurnSpecialAttackBase
applyEffectDuring
in class MultiTurnCharge
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 MultiTurnCharge
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.