public class MagicCoat extends StatusBase
type
modifiers
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, stopsSwitching
applyEarlyEffect, applyEffectAfterAllTargets, applyEffectAfterStatus, applyEffectHitOrMiss, applyEffectStart, applyMissEffect, changeChance, checkChance, dealtDamage, doesPersist, getChance, getWeightWithChance, isChance, modifyDamage, modifyPriority, modifyTypeEffectiveness, modifyTypeEffectiveness, weightEffect
public void applyEffect(PixelmonWrapper user, PixelmonWrapper target)
EffectBase
applyEffect
in class StatusBase
user
- The move's user.target
- The move's target.public boolean stopsIncomingAttack(PixelmonWrapper pokemon, PixelmonWrapper user)
StatusBase
stopsIncomingAttack
in class StatusBase
pokemon
- 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)
StatusBase
applyRepeatedEffect
in class StatusBase
pw
- The statused Pokémon.