Enums require the library to be included in a bundle, which can be difficult in web environments.
2.4 KiB
2.4 KiB
[TITLE MISSING]
Definitions
CheckResultValue
Defines the derived (unitless) value.
- Type: Union
- Cases: CheckResultValue'0 | CheckResultValue'1
CheckResultValue'0
- Constant:
"QualityLevels"
CheckResultValue'1
- Constant:
"SkillPoints"
CheckResultArithmetic
Defines how the the value is set off against the check result.
- Type: Union
- Cases: CheckResultArithmetic'0 | CheckResultArithmetic'1
CheckResultArithmetic'0
- Constant:
"Multiply"
CheckResultArithmetic'1
- Constant:
"Divide"
CheckResultBasedModifier
- Type: Object
| Key | Description | Details |
|---|---|---|
arithmetic |
The arithmetic how to apply the value to the base. |
See details |
value |
The value that is applied to the base using the defined arithmetic. |
See details |
arithmetic
The arithmetic how to apply the value to the base.
- Type: CheckResultArithmetic
value
The value that is applied to the base using the defined arithmetic.
- Type: Integer
- Minimum:
2
CheckResultBased
Defines a parameter being based on a check result.
- Type: Object
| Key | Description | Details |
|---|---|---|
base |
The base value that is derived from the check result. | See details |
modifier? |
If defined, it modifies the base value. | See details |
base
The base value that is derived from the check result.
- Type: CheckResultValue
modifier?
If defined, it modifies the base value.
- Type: CheckResultBasedModifier