Optional
battleConfig: FixedBattleConfigsThe wave to check.
The fixed battle for this wave.
Returns the wave range where MEs can spawn for the game mode [min, max]
either:
either:
Helper function to see if a GameMode has a specific challenge type
the Challenges it looks for
true if the game mode has that challenge
true
if the current battle is against classic mode's final boss
Every 10 waves is a boss battle
true if waveIndex is a multiple of 10
Every 50 waves of an Endless mode is a boss At this time it is paradox pokemon
true if waveIndex is a multiple of 50 in Endless
Every 1000 waves of an Endless mode is a major boss At this time it is Eternamax Eternatus
true if waveIndex is a multiple of 1000 in Endless
Every 250 waves of an Endless mode is a minor boss At this time it is Eternatus
true if waveIndex is a multiple of 250 in Endless
Checks whether there is a fixed battle on this gamemode on a given wave.
The wave to check.
If this game mode has a fixed battle on this wave
Helper function to see if the game mode is using fresh start
true if a fresh start challenge is being applied
Checks if wave provided is the final for current or specified game mode
game mode
if the current wave is final for classic or daily OR a minor boss in endless
Enables challenges if they are disabled and sets the specified challenge's value
The challenge to set
The value to give the challenge. Impact depends on the specific challenge
Static
get
Returns the config for the fixed battle for a particular wave.