Skip to content

Profectus / game/modifiers / createMultiplicativeModifier

Function: createMultiplicativeModifier() ​

createMultiplicativeModifier<T, S>(optionsFunc): S

Create a modifier that multiplies the input value by some value.

Type Parameters ​

• T extends MultiplicativeModifierOptions

• S = OperationModifier<T>

Parameters ​

optionsFunc ​

() => T

Multiplicative modifier options.

Returns ​

S

Defined in ​

profectus/src/game/modifiers.tsx:116