public class BideStatus extends StatusBase
Modifier and Type | Field and Description |
---|---|
float |
damageTaken
The amount of damage taken while using Bide.
|
PixelmonWrapper |
lastAttacker
The last Pokémon to attack the user of Bide.
|
type
modifiers
Constructor and Description |
---|
BideStatus()
Initializes the status.
|
Modifier and Type | Method and Description |
---|---|
void |
onDamageReceived(PixelmonWrapper userWrapper,
PixelmonWrapper pokemon,
Attack a,
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 transient float damageTaken
public transient PixelmonWrapper lastAttacker
public void onDamageReceived(PixelmonWrapper userWrapper, PixelmonWrapper pokemon, Attack a, int damage, DamageTypeEnum damageType)
StatusBase
onDamageReceived
in class StatusBase
userWrapper
- The attack's user.pokemon
- The statused Pokémon.a
- The attack.damage
- The amount of damage dealt.damageType
- The type of damage dealt.