The tag's max duration.
ReadonlypendingAll pending healing effects, organized by BattlerIndex
The side of the field that this arena tag affects.
OptionalsourceThe MoveId that created this tag, or undefined if not set by a move.
ReadonlytagThe type of the arena tag
The tag's remaining duration. Setting to any number <=0 will make the tag's duration effectively infinite.
Protectedi18nSealedA suffix corresponding to this tag's current side.
ProtectedonReturn 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.
ProtectedonReturn 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.
Apply a pending healing effect on the given target index
If true, suppresses changes to game state
The pokemon receiving the healing effect
Whether the target Pokemon was healed by this effect
ProtectedcanPrivatecanDetermines if the given PendingHealEffect can immediately heal
the given target Pokemon.
The PendingHealEffect to evaluate
The Pokemon to evaluate against
true if the Pokemon can be healed by the effect
ProtectedgetProtectedgetProtectedgetReduce 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
Apply effects when this Tag overlaps by creating a new instance while one is already present.
Optionalsource: PokemonThe Pokemon having added the tag
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
Adds a pending healing effect to the field. Effects under the same move and target index as an existing effect are ignored.
The BattlerIndex under which the effect applies
The data for the pending heal effect
Arena tag to contain stored healing effects, namely from Healing Wish and Lunar Dance. When a damaged Pokemon first enters the effect's
field position, their HP is fully restored, and they are cured of any non-volatile status condition. If the effect is from Lunar Dance, their PP is also restored.