public class ShellTrapStatus extends StatusBase
type
modifiers
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, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public void onDamageReceived(PixelmonWrapper userWrapper, PixelmonWrapper pokemon, Attack attack, int damage, DamageTypeEnum damageType)
onDamageReceived
in class StatusBase
userWrapper
- 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()