Applies ability effects without checking conditions
The pokemon to apply this ability to
Whether or not the ability is a passive
Whether the call is simulated
Extra args passed to the function. Handled by child classes.
Returns a boolean describing whether the ability can be applied under current conditions
The pokemon to apply this ability to
Whether or not the ability is a passive
Whether the call is simulated
Extra args passed to the function. Handled by child classes.
true
if the ability can be applied, false
otherwise
By default, this method checks that the move used is a damaging attack before applying the effect of any inherited class. This can be changed by providing a different attackCondition to the constructor. See ConfusionOnStatusEffectAbAttr for an example of an effect that does not require a damaging move.
This attribute applies confusion to the target whenever the user directly poisons them with a move, e.g. Poison Puppeteer. Called in StatusEffectAttr.
See
applyPostAttack