Skip to content
On this page

Interface: ExponentialModifierOptions

game/modifiers.ExponentialModifierOptions

An object that configures an exponential modifier via createExponentialModifier.

Properties

description

Optional description: Computable<CoercableComponent>

Description of what this modifier is doing.

Defined in

profectus/src/game/modifiers.tsx:174


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:176


exponent

exponent: Computable<DecimalSource>

The amount to raise the input value to the power of.

Defined in

profectus/src/game/modifiers.tsx:172


smallerIsBetter

Optional smallerIsBetter: boolean

Determines if numbers larger or smaller than 1 should be displayed as red.

Defined in

profectus/src/game/modifiers.tsx:180


supportLowNumbers

Optional supportLowNumbers: boolean

Add 1 before calculating, then remove it afterwards. This prevents low numbers from becoming lower.

Defined in

profectus/src/game/modifiers.tsx:178