Optional
stackCount: numberTries to inflicts the holder with the associated StatusEffect
.
true
if the status effect was applied successfully
Optional
forSummary: booleanOptional
virtual: booleanOptional
forThreshold: booleanChecks if modifier is an instance of this class,
intentionally ignoring potentially different effects
to prevent held item stockpiling since the item obtained first
would be the only item able to apply
successfully.
true
if modifier is an instance of
TurnStatusEffectModifier, false otherwise
Checks if PokemonHeldItemModifier
should be applied.
if PokemonHeldItemModifier
should be applied
Modifier used for held items, namely Toxic Orb and Flame Orb, that apply a set
StatusEffect
at the end of a turn.See
apply