Optionalcondition: 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 this ability grants immunity to the type of the given move.
Pokemon The defending Pokemon.
Whether the ability is passive.
Pokemon The attacking Pokemon.
Move The attacking move.
BooleanHolder - A holder for a boolean value indicating if the move was cancelled.
[0] NumberHolder gets set to 0 if move is immuned by an ability.
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
applyPreDefendgetCondition