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? ​
optionaldescription:MaybeGetter<Renderable>
Description of what this modifier is doing.
Defined in ​
profectus/src/game/modifiers.tsx:49
enabled? ​
optionalenabled:MaybeRefOrGetter<boolean>
A MaybeRefOrGetter that will be processed and passed directly into the returned modifier.
Defined in ​
profectus/src/game/modifiers.tsx:51
smallerIsBetter? ​
optionalsmallerIsBetter:boolean
Determines if numbers larger or smaller than 0 should be displayed as red.