public class MagicCoat extends StatusBase
typemodifiers| Constructor and Description |
|---|
MagicCoat()
Initializes Magic Coat.
|
| Modifier and Type | Method and Description |
|---|---|
void |
applyEffect(PixelmonWrapper user,
PixelmonWrapper target)
Causes various effects during the move.
|
void |
applyRepeatedEffect(PixelmonWrapper pw)
Triggered at the end of every turn.
|
static boolean |
reflectMove(Attack a,
PixelmonWrapper pokemon,
PixelmonWrapper user,
java.lang.String message)
Reflects a status move back at its user.
|
boolean |
stopsIncomingAttack(PixelmonWrapper pokemon,
PixelmonWrapper user)
Determines whether the status stops an attack about to hit the statused Pokémon.
|
allowsStatChange, applyBeforeEffect, applyEffectOnSwitch, applyEndOfBattleEffect, applySwitchOutEffect, canAttackThisTurn, cantMiss, copy, getCureMessage, getCureMessageItem, getEffectiveTypes, getNewInstance, ignoreStatus, isImmune, isTeamStatus, isWholeTeamStatus, modifyBaseStats, modifyDamageIncludeFixed, modifyPowerAndAccuracyTarget, modifyPowerAndAccuracyUser, modifyStats, modifyStatsCancellable, modifyWeight, onAttackEnd, onAttackUsed, onDamageReceived, onEndOfAttackersTurn, onEndOfTurn, redirectAttack, skipsTurn, stopsForcedSwitches, stopsIncomingAttackMessage, stopsIncomingAttackUser, stopsSelfStatusMove, stopsStatusChange, stopsSwitchingapplyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffectpublic void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBaseapplyEffect in class StatusBaseuser - The move's user.target - The move's target.public boolean stopsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user)
StatusBasestopsIncomingAttack in class StatusBasepokemon - The statused Pokémon.user - The attack's user.public static boolean reflectMove(Attack a, PixelmonWrapper pokemon, PixelmonWrapper user, java.lang.String message)
a - The move to attempt to reflect.pokemon - The Pokémon reflecting the move.user - The Pokémon using the status move.message - The lang code for the message to display when the move is reflected.public void applyRepeatedEffect(PixelmonWrapper pw)
StatusBaseapplyRepeatedEffect in class StatusBasepw - The statused Pokémon.