Skip to content

Profectus / game/modifiers / MultiplicativeModifierOptions

Interface: MultiplicativeModifierOptions ​

An object that configures an multiplicative modifier via createMultiplicativeModifier.

Properties ​

description? ​

optional description: MaybeGetter<Renderable>

Description of what this modifier is doing.

Defined in ​

profectus/src/game/modifiers.tsx:105


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


multiplier ​

multiplier: MaybeRefOrGetter<DecimalSource>

The amount to multiply the input value by.

Defined in ​

profectus/src/game/modifiers.tsx:103


smallerIsBetter? ​

optional smallerIsBetter: boolean

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

Defined in ​

profectus/src/game/modifiers.tsx:109