Optional
selfTarget: booleanOptional
options: MoveEffectAttrOptionsProtected
Optional
optionsA container for this attribute's optional parameters
Should this Move
target the user?
If defined, overrides the move's base chance for this secondary effect to trigger.
true
if this effect should only trigger on the first hit of
multi-hit moves.
true
if this effect should apply only upon hitting a target
for the first time when targeting multiple Pokemon
.
true
if this effect should only trigger on the last hit of
multi-hit moves.
Defines when this effect should trigger in the move's effect order.
Pokemon
using the move
Pokemon
target of the move
Move
with this attribute
Utils.BooleanHolder
which stores if the move should fail
the string representing failure of this Move
Gets the used move's additional effect chance.
Chance is modified by MoveEffectChanceMultiplierAbAttr
and IgnoreMoveEffectsAbAttr
.
Move effect chance value.
Attribute used for moves that suppress abilities like
Moves.GASTRO_ACID
. A suppressed ability cannot be activated.See
apply
getCondition