Profectus / game/modifiers / createAdditiveModifier
Function: createAdditiveModifier() ​
createAdditiveModifier<
T
,S
>(optionsFunc
):S
Create a modifier that adds some value to the input value.
Type Parameters ​
• T extends AdditiveModifierOptions
• S = OperationModifier
<T
>
Parameters ​
optionsFunc ​
() => T
Additive modifier options.
Returns ​
S