Protected
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.
Applies move effects so long as they are able based on canApply
the MoveCondition
or MoveConditionFunc for this Move
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.
Helper function to check if the Pokémon's health is below half after taking damage. Used for an edge case interaction with Wimp Out/Emergency Exit. If the Ability activates due to being hit by U-turn or Volt Switch, the user of that move will not be switched out.
Base class defining all Move Effect Attributes
See
apply