Protected
conditionThe condition for the field immunity to be applied.
Protected
immuneApplies 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 to supplied status effects.
The Pokémon to which the status is being applied.
n/a
The status effect being applied.
A holder for a boolean value indicating if the status application was cancelled.
n/a
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
Evaluate the condition to determine if the ConditionalUserFieldStatusEffectImmunityAbAttr can be applied.
The pokemon with the ability
unused
Whether the ability is being simulated
The status effect being applied
Holds whether the status effect was cancelled by a prior effect
Args[0]
is the target of the status effect, Args[1]
is the source.
Whether the ability can be applied to cancel the status effect.
Conditionally provides immunity to status effects to the user's field.
Used by
Flower Veil
.