Effect

Description

Effects dynamically adjust the value of StatusVariables.

Properties

Name
Type
Description

StatusName

The StatusName effected.

ValueModifier

Specific to numeric value types. Defines how the final value should be calculated.

UseBaseValue

bool

When true it will use the StatusEffectData's base value as the Effect value.

Priority

int

The effect with the highest priority will take precedence.

Value

float, int, bool

The value of the effect determined by the StatusName type. This value can be overridden by the base value of the StatusEffectData but for ints the value will be floored, and for bools the value is false for 0 and true for anything else.

Value Modifier

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 + PostAdditive = Final Value

Name
Description

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.

PostAdditive

Similar to additive, except that it is evaluated after the Multiplicative value so it will not be multiplied.

Maximum

Clamps the maximum value of the StatusVariable. The calculated maximum may change depending on the effect priority.

Minimum

Clamps the minimum value of the StatusVariable. The calculated minimum may change depending on the effect priority.

Overwrite

Overwrites value of the StatusVariable. The calculated value may change depending on the effect priority.

Last updated