Effects dynamically adjust the value of StatusVariables.
The value modifier will tell the StatusVariable how to calculate the effect value into its final value. The equation for how modifier values are added is:
( Base + Additive ) * Multiplicative + Post-Additive = Final Value
statusName
The status name effected.
valueModifier
Specific to the Int and Float Value Types. An enum of Additive, Multiplicative, or Post-Additive.
priority
Specific to the Bool Value Type. The effect with the highest priority will take precedence.
value
The value of the effect given the chosen ValueType. Which can be overridden by the base value of the StatusEffectData. Note that for ints the base value will be floored, and the bool value is false for 0 and true for anything else.
Additive
Will simply add the effect value to the StatusVariable base value.
Multiplicative
The percentage in decimal form that the StatusVariable will multiply its Base + Additive value.
Post-Additive
Similar to additive, except that it is evaluated after the Multiplicative value so it will not be multiplied.