Profectus / game/modifiers / ExponentialModifierOptions
Interface: ExponentialModifierOptions ​
An object that configures an exponential modifier via createExponentialModifier.
Properties ​
description? ​
optional
description:MaybeGetter
<Renderable
>
Description of what this modifier is doing.
Defined in ​
profectus/src/game/modifiers.tsx:161
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:163
exponent ​
exponent:
MaybeRefOrGetter
<DecimalSource
>
The amount to raise the input value to the power of.
Defined in ​
profectus/src/game/modifiers.tsx:159
smallerIsBetter? ​
optional
smallerIsBetter:boolean
Determines if numbers larger or smaller than 1 should be displayed as red.
Defined in ​
profectus/src/game/modifiers.tsx:167
supportLowNumbers? ​
optional
supportLowNumbers:boolean
Add 1 before calculating, then remove it afterwards. This prevents low numbers from becoming lower.