Whether abilities are being ignored during the interaction (e.g. due to a Mold-Breaker like effect).
Note that some abilities that provide stat multipliers to allies apply their boosts regardless of this flag.
The move being used by the user in the interaction
Optional
passive(For callers of applyAbAttrs
): If provided, only apply ability attributes of the passive (true) or active (false).
This should almost always be left undefined, as otherwise it will only apply attributes of either the pokemon's passive (true) or non-passive (false) ability. In almost all cases, you want to apply attributes that are from either.
(For implementations of AbAttr
): This will never be undefined, and will be true
if the ability being applied
is the pokemon's passive, and false
otherwise.
Readonly
pokemonThe pokemon that has the ability being applied
Optional
Readonly
simulatedWhether the ability's effects are being simulated (for instance, during AI damage calculations).
The stat to determine modification for
Holds the value of the stat, which may change after ability application.
Base set of parameters passed to every ability attribute's
apply
method.Extended by sub-classes to contain additional parameters pertaining to the ability type(s) being triggered.