Effect
Last updated
Last updated
Effects are a value adjustment of a StatusVariable.
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 string status name effected.
valueType
An enum choice of Float, Int, or Bool.
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.
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.