Protected
battlerProtected
sceneProtected
targetsProtected
applyProtected
applyProtected
applyApplies effects that trigger on HIT (i.e. Final Gambit, Power-Up Punch, Drain Punch)
The Pokemon
using this phase's invoked move
Pokemon
the current target of this phase's invoked move
true
if this is the first hit in a multi-hit attack
true
if this is the last hit in a multi-hit attack
true
if target is the first target hit by this strike of move
a function intended to be passed into a then()
call.
Protected
applyApplies non-self-targeted effects that trigger POST_APPLY
(i.e. Smelling Salts curing Paralysis, and the forced switch from U-Turn, Dragon Tail, etc)
a function intended to be passed into a then()
call.
Protected
applyProtected
applyApplies all effects and attributes that require a move to connect with a target, namely reactive effects like Weak Armor, on-hit effects like that of Power-Up Punch, and item stealing effects
The Pokemon
using this phase's invoked move
Pokemon
the current target of this phase's invoked move
true
if this is the first hit in a multi-hit attack
true
if this is the last hit in a multi-hit attack
true
if the target is protected by effects such as Protect
The HitResult
of the attempted move
true
if target is the first target hit by this strike of move
a function intended to be passed into a then()
call.
Protected
getA new MoveEffectPhase
with the same properties as this phase
Protected
removeRemoves the given Pokemon
from this phase's target list
Handles checking for and applying Flinches