AbstractReadonlylayersThe current number of layers this tag has.
Starts at 1 and increases each time the trap is laid.
The tag's max duration.
The side of the field that this arena tag affects.
OptionalsourceThe MoveId that created this tag, or undefined if not set by a move.
Abstract ReadonlytagThe type of the arena tag
The tag's remaining duration. Setting to any number <=0 will make the tag's duration effectively infinite.
ProtectedgroundedWhether this tag should only affect grounded targets; default true
Protectedi18nSealedA suffix corresponding to this tag's current side.
AbstractmaxThe maximum number of layers this tag can have.
Protected AbstractonReturn the i18n locales key that will be shown when this tag is added.
Within the text, {{pokemonNameWithAffix}} and {{moveName}} will be populated with
the name of the Pokemon that added the tag and the name of the move that created the tag, respectively.
Protected AbstractonReturn the i18n locales key that will be shown when this tag is removed.
Within the text, {{pokemonNameWithAffix}} and {{moveName}} will be populated with
the name of the Pokemon that added the tag and the name of the move that created the tag, respectively.
Protected AbstracttriggerReturn the i18n key of the text to be displayed when this tag deals damage.
Within the text, {{pokemonNameWithAffix}} will be populated with the victim's name.
The locales key for the trigger message to be displayed on-screen.
Check if the maximum number of layers for this tag has been reached.
Whether this tag can have another layer added to it.
ProtectedcanProtectedgetProtected AbstractgetProtectedgetProtectedgetReduce this ArenaTag's duration and apply any end-of-turn effects.
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
Trigger effects when this tag is added to the Arena. By default, will queue a message with the contents of getOnAddMessage.
Whether to suppress any messages created during tag addition; default false
Add a new layer to this tag upon overlap, triggering the tag's normal onAdd effects upon doing so.
Trigger effects when this tag is removed from the Arena. By default, will queue a message with the contents of getOnRemoveMessage.
Whether to suppress any messages created during tag addition; default false
Abstract class to implement damaging entry hazards. Currently used for
SpikesTagandStealthRockTag.