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