public class Rainy extends Weather
extreme, isOverworldWeather, langContinue, langEnd, langStart, turnsToGo, weatherRocktypemodifiers| Constructor and Description |
|---|
Rainy()
Initializes heavy rain.
|
Rainy(boolean extreme) |
Rainy(int turnsToGo)
Initializes heavy rain.
|
Rainy(int turnsToGo,
boolean isOverworldWeather)
Initializes heavy rain.
|
| 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 weather.
|
protected Weather |
getNewInstance(int turns)
Gets a new instance of the subclass.
|
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 |
stopsIncomingAttack(PixelmonWrapper pokemon,
PixelmonWrapper user)
Determines whether the status stops an attack about to hit the statused Pokémon.
|
applyEffect, applyRepeatedEffect, applyRepeatedEffect, getIsOverworldWeather, getLangContinue, getRemainingTurns, setStartTurns, 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, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic Rainy()
public Rainy(boolean extreme)
public Rainy(int turnsToGo)
turnsToGo - Number of turns for rain to last.public Rainy(int turnsToGo,
boolean isOverworldWeather)
turnsToGo - Number of turns for rain to last.isOverworldWeather - Whether this weather is created due to the current weather in the Minecraft world.protected Weather getNewInstance(int turns)
WeathergetNewInstance in class Weatherturns - The number of turns that the weather will last for.public 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 stopsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user)
StatusBasestopsIncomingAttack in class StatusBasepokemon - The statused Pokémon.user - The attack's user.protected int countBenefits(PixelmonWrapper user, PixelmonWrapper target)
WeathercountBenefits in class Weatheruser - The Pokémon using the weather move.target - The Pokémon to count benefits for.public StatusBase copy()
StatusBasecopy in class StatusBase