public class Hail extends Weather
extreme, isOverworldWeather, langContinue, langEnd, langStart, turnsToGo, weatherRocktypemodifiers| Constructor and Description |
|---|
Hail()
Initializes hail.
|
Hail(int turnsToGo)
Initializes hail.
|
Hail(int turnsToGo,
boolean isOverworldWeather)
Initializes hail.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyRepeatedEffect(BattleController bc)
Triggers at the end of every turn.
|
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.
|
boolean |
isImmune(PixelmonWrapper p)
Checks if the Pokémon is immune to the status.
|
applyEffect, applyRepeatedEffect, getIsOverworldWeather, getLangContinue, getRemainingTurns, setStartTurns, toString, weightEffectignoreWeather, isTerrain, isWeatherallowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic Hail()
public Hail(int turnsToGo)
turnsToGo - The number of turns for hail to last.public Hail(int turnsToGo,
boolean isOverworldWeather)
turnsToGo - The number of turns for hail 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 void applyRepeatedEffect(BattleController bc)
WeatherapplyRepeatedEffect in class Weatherbc - The battle that the weather is in.public boolean isImmune(PixelmonWrapper p)
StatusBaseisImmune in class StatusBasep - The Pokémon to check.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