public class Mist extends StatusBase
| Modifier and Type | Field and Description |
|---|---|
int |
effectTurns
The number of turns that Mist has been active.
|
typemodifiers| Constructor and Description |
|---|
Mist()
Initializes Mist.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsStatChange(PixelmonWrapper pokemon,
PixelmonWrapper user,
StatsEffect e)
Determines whether the status allows stats to be modified
|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
void |
applyRepeatedEffect(PixelmonWrapper pw)
Triggered at the end of every turn.
|
StatusBase |
copy()
If necessary, makes a deep copy of the status.
|
boolean |
isTeamStatus()
Determines whether the status applies to the Pokémon's position in the battle.
|
boolean |
stopsIncomingAttack(PixelmonWrapper pokemon,
PixelmonWrapper user)
Determines whether the status stops an attack about to hit the statused Pokémon.
|
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.
|
applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic transient int effectTurns
public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyEffect in class StatusBaseuser - The move's user.target - The move's target.public boolean isTeamStatus()
StatusBaseisTeamStatus in class StatusBasepublic boolean stopsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user)
StatusBasestopsIncomingAttack in class StatusBasepokemon - The statused Pokémon.user - The attack's user.public boolean allowsStatChange(PixelmonWrapper pokemon, PixelmonWrapper user, StatsEffect e)
StatusBaseallowsStatChange in class StatusBasepokemon - The statused Pokémon.user - The attack's user.e - The stat modifier.public void applyRepeatedEffect(PixelmonWrapper pw)
StatusBaseapplyRepeatedEffect in class StatusBasepw - The statused Pokémon.public StatusBase copy()
StatusBasecopy in class StatusBasepublic 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.