Hierarchy

  • default

Constructors

Methods

  • Returns {
        bonus: number;
        core: number;
        type: SkillType;
    }[]

  • Parameters

    • skill: SkillType
    • Optional multiplier: number
    • Optional actionTier: number
    • Optional bypass: boolean

    Returns void

  • Returns

    The value of the given skill, the sum of the base value and any bonuses from magical equipment

    Parameters

    Returns number

  • Returns

    the skill bonus applied by magical equipment

    Parameters

    Returns number

  • Returns

    the "base value" of the skill (ignoring any bonuses applied by magical equipment)

    Parameters

    Returns number

  • Returns

    The value of the given skill, represented as a decimal number 0-1, where 0 is 0% and 1 is 100%. The value may exceed 1 given skill bonuses.

    Parameters

    Returns number

  • Parameters

    • skill: SkillType
    • Optional actionTier: number

    Returns number

  • Returns

    The total skill (combination of all other skills). Ignores skill bonuses.

    Returns number

  • Parameters

    Returns boolean

  • Returns

    whether the given skill is maxed-out. Ignores bonus.

    Parameters

    Returns boolean

  • Parameters

    • skill: SkillType
    • Optional core: number
    • Optional bonus: number

    Returns default

  • Parameters

    Returns void

  • Parameters

    Returns default

  • Parameters

    Returns default

  • Sets the "base value" of the skill (ignoring any bonuses applied by magical equipment)

    Parameters

    • skill: SkillType

      The skill to set the base value of.

    • value: number

      The value (between 0 and 100) to set the skill to.

    Returns default

  • Returns

    Whether the skill of this human is more than or equal to a random number between 0 and the value of check.

    Parameters

    • skill: SkillType
    • check: number
    • Optional actionTier: number

    Returns boolean

Generated using TypeDoc