public class MistyTerrain extends Terrain
langEnd, langStart, turnsToGotypemodifiers| Constructor and Description |
|---|
MistyTerrain(boolean extended)
Initializes the status.
|
MistyTerrain(int turnsToGo) |
| Modifier and Type | Method and Description |
|---|---|
StatusBase |
copy()
If necessary, makes a deep copy of the status.
|
protected int |
countBenefits(PixelmonWrapper user,
PixelmonWrapper target)
Counts the number of ways that the target Pokémon benefits from the terrain.
|
Terrain |
getNewInstance()
Gets a new instance of the subclass.
|
Terrain |
getTerrainType() |
Element |
getTypingForTerrain() |
int[] |
modifyPowerAndAccuracyTarget(int power,
int accuracy,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
Modifies the power and accuracy of the attack about to hit the statused Pokémon.
|
boolean |
stopsStatusChange(StatusType t,
PixelmonWrapper target,
PixelmonWrapper user)
Determines whether the status prevents the Pokémon from obtaining other statuses.
|
affectsPokemon, applyEffect, applyRepeatedEffect, applyRepeatedEffect, getRemainingTurns, setTurns, toString, weightEffectignoreWeather, isTerrain, isWeatherallowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic MistyTerrain(boolean extended)
public MistyTerrain(int turnsToGo)
public Terrain getNewInstance()
TerraingetNewInstance in class Terrain@Nonnull public Terrain getTerrainType()
getTerrainType in class Terrainpublic Element getTypingForTerrain()
getTypingForTerrain in class Terrainpublic int[] modifyPowerAndAccuracyTarget(int power,
int accuracy,
PixelmonWrapper user,
PixelmonWrapper target,
Attack a)
StatusBasemodifyPowerAndAccuracyTarget in class StatusBasepower - The attack's power.accuracy - The attack's accuracy.user - The attack's user.target - The attack's target.a - The attack.public boolean stopsStatusChange(StatusType t, PixelmonWrapper target, PixelmonWrapper user)
StatusBasestopsStatusChange in class StatusBaset - The status to be afflictedtarget - The Pokémon to be afflicted.user - The Pokémon afflicting the status.protected int countBenefits(PixelmonWrapper user, PixelmonWrapper target)
TerraincountBenefits in class Terrainuser - The Pokémon using the terrain move.target - The Pokémon to count benefits for.public StatusBase copy()
StatusBasecopy in class StatusBase