Abstract
Optional
battlesLeft: numberOptional
stackCount: numberProtected
battlesAbstract
applyAbstract
cloneRetrieve the Modifiers
icon as a Phaser.GameObjects.Container | Container
The BattleScene
Optional
forSummary: booleantrue
if the icon is for the summary screen
the icon as a Phaser.GameObjects.Container | Container
Optional
virtual: booleanAbstract
getOptional
pokemon: defaultOptional
forThreshold: booleanLapse the battlesLeft
counter (reduce it by 1)
Rest
..._args: unknown[]arguments passed (not used here)
true
if battlesLeft
is not null
Abstract
matchChecks if PokemonHeldItemModifier
should be applied.
if PokemonHeldItemModifier
should be applied
Applies the
PokemonHeldItemModifier
to the givenPokemon
.