If true
, sets the shiny overrides to disable shinies at the start of each test; default true
Protected
Readonly
gameIf true
, removes the starting items from enemies at the start of each test; default true
Override the player (pokemon) ability
this
Override the battle type (e.g., single or double).
battle type to set
this
Gives the player access to an Unlockable.
The Unlockable(s) to enable.
this
Override the enemy (pokemon) ability
this
Override the enemy (Pokemon) to have the given amount of health segments
the number of segments to give
0
(default): the health segments will be handled like in the game based on wave, level and species1
: the Pokemon will not be a boss2
+: the Pokemon will be a boss with the given number of health segmentsthis
Override the enemy (pokemon) held items
the items to hold
this
Override the enemy (pokemon) moves
set
this
Override the enemy (pokemon) passive ability
this
Override the enemy (pokemon) status-effect
the status-effect
to set
Override the items rolled at the end of a battle
the items to be rolled
this
Override the player (pokemon) moves
set
this
Override the encounter that spawns for the scene
The MysteryEncounterType
of the encounter
this
Override the encounter chance for a mystery encounter.
The MysteryEncounterTier
to encounter
this
Override the player (pokemon) passive ability
this
Override player shiny variant
The player's shiny variant.
this
Override the player (pokemons) forms
the (pokemon) forms to set
this
Override the starting biome
the biome to set
Any event listeners that are attached to NewArenaEvent may need to be handled down the line
Override the player (pokemon) starting held items
the items to hold
this
Override the player's starting modifiers
the modifiers to set
this
Override the player (pokemon) status-effect
the status-effect
to set
Override the weather (type)
weather type
to set
this
Helper to handle overrides in tests