Skip to main content

Modifier

A Modifier defines logic that modifies an Effect's value.

Modifiers are executed by Processors at specific stages of the processing pipeline, allowing the Effect's value to be adjusted before it is applied.

Modifier Signature

The Modifier Signature defines how a Modifier transforms an Effect's value.

Fields

FieldDescription
Contribution TypeDetermines how the Modifier contributes to the incoming Effect value. See Contribution Types below.
Use ScalerEnables scaling of the incoming Effect value using a Stat Scaler.
Use Multi Stat ScalerEnables scaling of the incoming Effect value using a Multi Stat Scaler, which combines multiple Stats.
Stat ScalerDefines the Stat Key and Scaler Model used for scaling.
Multi Stat ScalerDefines the Stat Keys and Scaler Model used to scale the Effect using multiple Stats.

Contribution Types

TypeDescription
FlatAdds the Modifier Stat value directly to the incoming Effect value.
RateAdds a percentage of the incoming Effect value based on the Modifier Stat value. Percentage values are defined in the range 0–1, where 0.1 represents 10%. For example, if the incoming Effect value is 10 and the Modifier value is 0.1, the Modifier adds 1 to the Effect.
MultiplierMultiplies the incoming Effect value by the Modifier Stat value.