public class StealthRock extends EntryHazard
ENTRY_HAZARDS, numLayerstypemodifiers| Constructor and Description |
|---|
StealthRock()
Initializes the status.
|
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
getAffectedMessage()
Gets the lang key for the message displayed when a hazard is triggered.
|
int |
getAIWeight()
Gets the weight per Pokémon that an AI will assign to the move.
|
int |
getDamage(PixelmonWrapper pw)
Returns the amount of damage dealt by the entry hazard.
|
protected java.lang.String |
getFirstLayerMessage()
Gets the lang key for the message displayed when a hazard is first laid.
|
EntryHazard |
getNewInstance()
Gets a new instance of the entry hazard.
|
boolean |
isTeamStatus()
Determines whether the status applies to the Pokémon's position in the battle.
|
boolean |
isUnharmed(PixelmonWrapper pw)
Checks if the Pokémon is unharmed by the entry hazard.
|
applyEffect, applyEffectOnSwitch, applyHazards, copy, doEffect, getMultiLayerMessage, getNumLayers, isAirborne, weightEffectallowsStatChange, applyBeforeEffect, applyEndOfBattleEffect, applyRepeatedEffect, 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, stopsIncomingAttack, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectivenesspublic boolean isTeamStatus()
StatusBaseisTeamStatus in class EntryHazardpublic boolean isUnharmed(PixelmonWrapper pw)
EntryHazardisUnharmed in class EntryHazardpw - The Pokémon to check.public int getDamage(PixelmonWrapper pw)
EntryHazardgetDamage in class EntryHazardpw - The Pokémon being damaged by the entry hazard.protected java.lang.String getFirstLayerMessage()
EntryHazardgetFirstLayerMessage in class EntryHazardprotected java.lang.String getAffectedMessage()
EntryHazardgetAffectedMessage in class EntryHazardpublic int getAIWeight()
EntryHazardgetAIWeight in class EntryHazardpublic EntryHazard getNewInstance()
EntryHazardgetNewInstance in class EntryHazard