Lowers the maximum cost of starters available.

Hierarchy (view full)

Constructors

Properties

conditions: ChallengeCondition[]
maxSeverity: number
maxValue: number
severity: number
value: number

Methods

  • An apply function for AI_LEVEL challenges. Derived classes should alter this.

    Parameters

    • level: IntegerHolder

      Utils.IntegerHolder The generated level.

    • levelCap: number

      Number The current level cap.

    • isTrainer: boolean

      Boolean Whether this is a trainer pokemon.

    • isBoss: boolean

      Boolean Whether this is a non-trainer boss pokemon.

    Returns boolean

    boolean Whether this function did anything.

  • Returns the description of a challenge's current value.

    Parameters

    • OptionaloverrideValue: number

      integer The value to check for. If undefined, gets the current value.

    Returns string

    string The localised description for the current value.