Indicates that the move is a virtual move (i.e. called by metronome)
ProtectedbattlerProtectedreflectedProtectedtargetsProtectedapplyHandles checking for and applying Flinches
a function intended to be passed into a then() call.
ProtectedapplyProtectedapplySub-method of for applyMoveEffects that applies damage to the target.
The Pokemon using this phase's invoked move
The Pokemon targeted by the move
The effectiveness of the move against the target
ProtectedapplyApplies all move effects that trigger in the event of a successful hit:
PRE_APPLY effects`POST_APPLY effectsapplyOnTargetEffects if the move does not hit a substitutethe Pokemon hit by this phase's move.
The effectiveness of the move (as previously evaluated in hitCheck)
Whether this is the first target successfully struck by the move
ProtectedapplyApplies reactive effects that occur when a Pokémon is hit. (i.e. Effect Spore, Disguise, Liquid Ooze, Beak Blast)
a Promise intended to be passed into a then() call.
ProtectedapplyCheck whether the move should bypass both the accuracy and semi-invulnerable states.
true if the move should bypass accuracy and semi-invulnerability
Accuracy and semi-invulnerability can be bypassed by:
ToxicLock-On or Mind Reader.Does not check against effects Glaive Rush status (which
should not bypass semi-invulnerability), or interactions like Earthquake hitting against Dig,
(which should not bypass the accuracy check).
Check whether the move is able to ignore the given semiInvulnerableTag
The semiInvulnerable tag to check against
true if the move can ignore the semi-invulnerable state
The first target of this phase's invoked move
ProtectedgetA new MoveEffectPhase with the same properties as this phase
Conduct the hit check and type effectiveness for this move against the target
Checks occur in the following order:
a HitCheckEntry containing the attack's HitCheckResult
and effectiveness against the target.
ProtectedonProtectedqueueProtectedremoveProtectedtriggerTriggers move effects of the given move effect trigger.
The MoveEffectTrigger being applied
The Pokemon using the move
The Pokemon targeted by the move
OptionalfirstTarget: null | booleanWhether the target is the first to be hit by the current strike
OptionalselfTarget: booleanIf defined, limits the effects triggered to either self-targeted
effects (if set to true) or targeted effects (if set to false).
a Promise applying the relevant move effects.
ProtectedupdateRemoves all substitutes that were broken by this phase's invoked move
Indicates that the move was reflected by the user due to magic coat or magic bounce