ProtectedconditionIf the method evaluates to true, the stat will be protected.
Protected OptionalprotectedBattleStat to protect or undefined if all BattleStat are protected
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
Determine whether the ConditionalUserFieldProtectStatAbAttr can be applied.
The pokemon with the ability
unused
Unused
The stat being affected
Holds whether the stat change was already prevented.
Args[0] is the target pokemon of the stat change.
Conditionally provides immunity to stat drop effects to the user's field.
Used by
Flower Veil.