An apply function for FIXED_BATTLE challenges. Derived classes should alter this.
Number The current wave index.
FixedBattleConfig The battle config to modify.
boolean Whether this function did anything.
An apply function for GAME_MODE_MODIFY challenges. Derived classes should alter this.
boolean Whether this function did anything.
An apply function for AI_LEVEL challenges. Derived classes should alter this.
Utils.NumberHolder The generated level.
Number The current level cap.
Boolean Whether this is a trainer pokemon.
Boolean Whether this is a non-trainer boss pokemon.
boolean Whether this function did anything.
An apply function for MOVE_ACCESS. Derived classes should alter this.
Pokemon What pokemon would learn the move.
MoveSourceType What source the pokemon would get the move from.
Moves The move in question.
Utils.NumberHolder The level threshold for access.
boolean Whether this function did anything.
An apply function for AI_MOVE_SLOTS challenges. Derived classes should alter this.
boolean Whether this function did anything.
An apply function for MOVE_WEIGHT. Derived classes should alter this.
Pokemon What pokemon would learn the move.
MoveSourceType What source the pokemon would get the move from.
Moves The move in question.
boolean Whether this function did anything.
An apply function for PASSIVE_ACCESS challenges. Derived classes should alter this.
boolean Whether this function did anything.
An apply function for POKEMON_IN_BATTLE challenges. Derived classes should alter this.
Pokemon The pokemon to check the validity of.
Utils.BooleanHolder A BooleanHolder, the value gets set to false if the pokemon isn't allowed.
boolean Whether this function did anything.
An apply function for STARTER_CHOICE challenges. Derived classes should alter this.
PokemonSpecies The pokemon to check the validity of.
Utils.BooleanHolder A BooleanHolder, the value gets set to false if the pokemon isn't allowed.
DexAttrProps The dex attributes of the pokemon.
boolean Whether this function did anything.
An apply function for STARTER_COST challenges. Derived classes should alter this.
Species The pokemon to change the cost of.
Utils.NumberHolder The cost of the starter.
boolean Whether this function did anything.
An apply function for STARTER_POINTS challenges. Derived classes should alter this.
Utils.NumberHolder The amount of points you have available.
boolean Whether this function did anything.
An apply function for TYPE_EFFECTIVENESS challenges. Derived classes should alter this.
Utils.NumberHolder
The current effectiveness of the move.
Whether this function did anything.
Decrease the severity of the challenge
boolean Returns true if the value changed
Decrease the value of the challenge
boolean Returns true if the value changed
Returns the description of a challenge's current value.
Optional
overrideValue: numbernumber The value to check for. If undefined, gets the current value.
string The localised description for the current value.
Gets the "difficulty" value of this challenge.
integer The difficulty value.
Gets the localisation key for the challenge
string The i18n key for this challenge
Gets the minimum difficulty added by this challenge.
integer The difficulty value.
string The localised name of this challenge.
Returns the textual representation of a challenge's current value.
Optional
overrideValue: numbernumber The value to check for. If undefined, gets the current value.
string The localised name for the current value.
Whether to allow choosing this challenge's severity.
Increase the severity of the challenge
boolean Returns true if the value changed
Increase the value of the challenge
boolean Returns true if the value changed
Reset the challenge to a base state.
Static
loadClones a challenge, either from another challenge or json. Chainable.
The source challenge or json.
This challenge.
Implements a flip stat challenge.