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
| Field | Description |
|---|---|
| Contribution Type | Determines how the Modifier contributes to the incoming Effect value. See Contribution Types below. |
| Use Scaler | Enables scaling of the incoming Effect value using a Stat Scaler. |
| Use Multi Stat Scaler | Enables scaling of the incoming Effect value using a Multi Stat Scaler, which combines multiple Stats. |
| Stat Scaler | Defines the Stat Key and Scaler Model used for scaling. |
| Multi Stat Scaler | Defines the Stat Keys and Scaler Model used to scale the Effect using multiple Stats. |
Contribution Types
| Type | Description |
|---|---|
| Flat | Adds the Modifier Stat value directly to the incoming Effect value. |
| Rate | Adds 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. |
| Multiplier | Multiplies the incoming Effect value by the Modifier Stat value. |