Creates a new instance of the ArenaTrapTag class.
The type of the arena tag.
The move that created the tag.
The ID of the source of the tag.
The side (player or enemy) the tag affects.
The maximum amount of layers this tag can have.
Optional
sourceOptional
sourceActivates the hazard effect onto a Pokemon when it enters the field
true
if this hazard affects the given Pokemon; false
otherwise.
Helper function that retrieves the Pokemon affected
list of PlayerPokemon or EnemyPokemon on the field
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
An arena tag
Abstract class to implement arena traps.