Interface: AdditiveModifierOptions
game/modifiers.AdditiveModifierOptions
An object that configures an additive modifier via createAdditiveModifier.
Properties
addend
• addend: Computable
<DecimalSource
>
The amount to add to the input value.
Defined in
profectus/src/game/modifiers.tsx:51
description
• Optional
description: Computable
<CoercableComponent
>
Description of what this modifier is doing.
Defined in
profectus/src/game/modifiers.tsx:53
enabled
• Optional
enabled: Computable
<boolean
>
A computable that will be processed and passed directly into the returned modifier.
Defined in
profectus/src/game/modifiers.tsx:55
smallerIsBetter
• Optional
smallerIsBetter: boolean
Determines if numbers larger or smaller than 0 should be displayed as red.