Skip to content
On this page

Interface: MultiplicativeModifierOptions

game/modifiers.MultiplicativeModifierOptions

An object that configures an multiplicative modifier via createMultiplicativeModifier.

Properties

description

Optional description: Computable<CoercableComponent>

Description of what this modifier is doing.

Defined in

profectus/src/game/modifiers.tsx:114


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


multiplier

multiplier: Computable<DecimalSource>

The amount to multiply the input value by.

Defined in

profectus/src/game/modifiers.tsx:112


smallerIsBetter

Optional smallerIsBetter: boolean

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

Defined in

profectus/src/game/modifiers.tsx:118