public class PoisonBadly extends Poison
typemodifiers| Constructor and Description |
|---|
PoisonBadly()
Initializes the status.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
void |
applyEndOfBattleEffect(PixelmonWrapper pokemon)
Triggers when the battle ends.
|
void |
applyRepeatedEffect(PixelmonWrapper pw)
Triggered at the end of every turn.
|
void |
applySwitchOutEffect(PixelmonWrapper outgoing,
PixelmonWrapper incoming)
Triggers when the statused Pokémon switches out.
|
StatusBase |
copy()
If necessary, makes a deep copy of the status.
|
protected float |
getPoisonDamage(PixelmonWrapper pw)
Gets the amount of damage poison will do in the turn.
|
static boolean |
poisonBadly(PixelmonWrapper user,
PixelmonWrapper target,
Attack attack,
boolean showMessage)
Badly poisons the target if possible.
|
StatusPersist |
restoreFromNBT(net.minecraft.nbt.CompoundNBT nbt)
Loads the status from NBT.
|
canPoison, getCureMessage, getCureMessageItem, isImmune, poison, weightEffectaddStatus, alreadyHasStatus, isStatus, readStatusFromNBT, writeToNBTallowsStatChange, applyBeforeEffect, applyEffectOnSwitch, canAttackThisTurn, cantMiss, 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 void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyEffect in class Poisonuser - The move's user.target - The move's target.public static boolean poisonBadly(PixelmonWrapper user, PixelmonWrapper target, Attack attack, boolean showMessage)
user - The Pokémon causing the poison.target - The Pokémon to poison.attack - The attack that caused the poison.showMessage - Whether to show a message depending on what occurs.public void applyRepeatedEffect(PixelmonWrapper pw)
StatusBaseapplyRepeatedEffect in class Poisonpw - The statused Pokémon.protected float getPoisonDamage(PixelmonWrapper pw)
PoisongetPoisonDamage in class Poisonpw - The poisoned Pokémon.public void applySwitchOutEffect(PixelmonWrapper outgoing, PixelmonWrapper incoming)
StatusBaseapplySwitchOutEffect in class StatusBaseoutgoing - The statused Pokémon.incoming - The incoming Pokémon.public void applyEndOfBattleEffect(PixelmonWrapper pokemon)
StatusBaseapplyEndOfBattleEffect in class StatusBasepokemon - The statused Pokémon.public StatusPersist restoreFromNBT(net.minecraft.nbt.CompoundNBT nbt)
StatusPersistrestoreFromNBT in class Poisonnbt - The NBT tag to read from.public StatusBase copy()
StatusBasecopy in class StatusBase