public class ShellTrapStatus extends StatusBase
typemodifiers| Constructor and Description |
|---|
ShellTrapStatus() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getWasHit() |
void |
onDamageReceived(PixelmonWrapper userWrapper,
PixelmonWrapper pokemon,
Attack attack,
int damage,
DamageTypeEnum damageType)
Triggers when the statused Pokémon takes damage.
|
allowsStatChange, applyBeforeEffect, applyEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applyRepeatedEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, 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, modifyTypeEffectiveness, weightEffectpublic void onDamageReceived(PixelmonWrapper userWrapper, PixelmonWrapper pokemon, Attack attack, int damage, DamageTypeEnum damageType)
onDamageReceived in class StatusBaseuserWrapper - The attack's user.pokemon - The statused Pokémon.attack - The attack.damage - The amount of damage dealt.damageType - The type of damage dealt.public boolean getWasHit()