Optional
condition: AbAttrConditionApplies 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.
Applies immunity if the move used is not a status move. Type immunity abilities that do not give additional benefits (HP recovery, stat boosts, etc) are not immune to status moves of the type Example: Levitate
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
Determines whether a Pokemon is immune to a move because of an ability.
See
applyPreDefend
getCondition