Abstract
Optional
sourceMove: MoveIdOptional
sourceId: numberThe side of the field
that this arena tag affects.
Optional
sourceThe MoveId
that created this tag, or undefined
if not set by a move.
Abstract
Readonly
tagThe type of the arena tag
The tag's remaining duration. Setting to any number <=0
will make the tag's duration effectively infinite.
Protected
Abstract
weakenedApplies the weakening effect to the move.
the Arena
where the move is applied.
n/a
the attacking Pokemon
the attacking move's MoveCategory
.
A NumberHolder
containing the damage multiplier
true
if the attacking move was weakened; false
otherwise.
Helper function that retrieves the Pokemon affected
list of PlayerPokemon or EnemyPokemon on the field
Trigger this ArenaTag
's effect, reducing its duration as applicable.
Will ignore durations of all tags with durations <=0
.
true
if this tag should be kept; false
if it should be removed.
When given a arena tag or json representing one, load the data for it. This is meant to be inherited from by any arena tag with custom attributes
The arena tag being loaded
Reduces the damage of specific move categories in the arena.