public abstract class MultiTurnCharge extends MultiTurnSpecialAttackBase
modifiers| Constructor and Description |
|---|
MultiTurnCharge() |
MultiTurnCharge(java.lang.String message)
Initializes a charging move.
|
MultiTurnCharge(java.lang.String message,
java.lang.String base,
StatusType type)
Initializes a charging move.
|
| Modifier and Type | Method and Description |
|---|---|
AttackResult |
applyEffectDuring(PixelmonWrapper user,
PixelmonWrapper target)
Triggers before the move hits the target.
|
void |
applyMissEffect(PixelmonWrapper user,
PixelmonWrapper target)
Triggers when the move misses.
|
boolean |
cantMiss(PixelmonWrapper user)
Determines whether a move cannot miss.
|
boolean |
isCharging(PixelmonWrapper user,
PixelmonWrapper target)
Returns whether the multi-turn move is in a charging turn.
|
void |
removeEffect(PixelmonWrapper user,
PixelmonWrapper target)
Ends the multi-turn move.
|
boolean |
shouldNotLosePP(PixelmonWrapper user)
Returns whether the move should not have PP deducted during the turn.
|
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.
|
applyEffect, decrementTurnCount, doesPersist, getTurnCount, ignoresType, setPersists, setTurnCountapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, changeChance, checkChance, dealtDamage, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic MultiTurnCharge()
public MultiTurnCharge(java.lang.String message)
message - The lang string for the message to display when the move starts charging.public MultiTurnCharge(java.lang.String message,
java.lang.String base,
StatusType type)
message - The lang string for the message to display when the move starts charging.base - The class for the status that the move's intermediate turn causes.type - The type of status that the move's intermediate turn causes.public AttackResult applyEffectDuring(PixelmonWrapper user, PixelmonWrapper target)
MultiTurnSpecialAttackBaseapplyEffectDuring in class MultiTurnSpecialAttackBaseuser - The move's user.target - The move's target.public boolean cantMiss(PixelmonWrapper user)
EffectBasecantMiss in class MultiTurnSpecialAttackBaseuser - The move's user.public void applyMissEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyMissEffect in class MultiTurnSpecialAttackBaseuser - The move's user.target - The move's target.public void removeEffect(PixelmonWrapper user, PixelmonWrapper target)
MultiTurnSpecialAttackBaseremoveEffect in class MultiTurnSpecialAttackBaseuser - The move's usertarget - The move's targetpublic boolean isCharging(PixelmonWrapper user, PixelmonWrapper target)
MultiTurnSpecialAttackBaseisCharging in class MultiTurnSpecialAttackBaseuser - The move's usertarget - The move's targetpublic boolean shouldNotLosePP(PixelmonWrapper user)
MultiTurnSpecialAttackBaseshouldNotLosePP in class MultiTurnSpecialAttackBaseuser - The move's user.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)
EffectBaseweightEffect in class EffectBasepw - 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.