Multiplier Against Suppressor
The Multiplier Against Suppressor Processor calculates a multiplier based on the relationship between the incoming Attribute Stat and its corresponding Suppressor Stat, then adds the result to the Effect's Contribution Data as a Multiplier contribution.
This Processor is primarily designed for calculating interactions such as Attack vs Defense.
For example:
- Attribute Stat: Physical Attack
- Suppressor Stat: Physical Defense
The Suppressor Stat is resolved from the Target Actor through the Attribute Stat's Suppressor Relative Key.
The resolved Stat must be:
- A Float Stat for the MultiplierAgainstSuppressor_Float Processor.
- An Int Stat for the MultiplierAgainstSuppressor_Int Processor.
Fields
| Field | Description |
|---|---|
| Base Offset | The absolute minimum multiplier. It ensures the final calculation never drops below this threshold. |
| Base Scale | The core resistance factor. It determines how strongly the Suppressor reduces the resulting multiplier. |
| Exponent | Controls the growth curve of the multiplier. Higher values produce a steeper scaling curve. |
| Attribute Stat Suppressor Stat Key | The Relative Key used to resolve the Suppressor Stat from the Target Actor through the Attribute Stat. |
| Use Conditional Multiplier Modifier | Enables conditional modification of the Attribute Stat value before the calculation. |
| Use Conditional Suppressor Modifier | Enables conditional modification of the Suppressor Stat value before the calculation. |
| Conditional Modifier | The Conditional Modifier Processor used to modify the Attribute Stat and Suppressor Stat values. |
The final multiplier is calculated using the following formula:
Mathf.Pow(
BaseOffset +
1 / Mathf.Pow(BaseScale, suppressorValue / multiplierValue),
Exponent
)