# Effect

### Description

Effects are a value adjustment of a [StatusVariable](https://maraudical.gitbook.io/status-effect-framework/1.2.0/type-specifics/classes/statusvariable).

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>statusName</td><td>The string status name effected.</td></tr><tr><td>valueType</td><td>An enum choice of Float, Int, or Bool.</td></tr><tr><td>valueModifier</td><td>Specific to the Int and Float Value Types. An enum of Additive, Multiplicative, or Post-Additive</td></tr><tr><td>priority</td><td>Specific to the Bool Value Type. The effect with the highest priority will take precedence.</td></tr><tr><td>value</td><td>The value of the effect given the chosen ValueType.</td></tr></tbody></table>

### Value Modifier

The value modifier will tell the [StatusVariable](https://maraudical.gitbook.io/status-effect-framework/1.2.0/type-specifics/classes/statusvariable) how to calculate the effect value into its final value. The equation for how modifier values are added is:&#x20;

**( Base + Additive ) \* Multiplicative + Post-Additive = Final Value**

<table data-header-hidden><thead><tr><th width="176"></th><th></th></tr></thead><tbody><tr><td>Additive</td><td>Will simply add the effect value to the <a href="../statusvariable">StatusVariable</a> base value.</td></tr><tr><td>Multiplicative</td><td>The percentage in decimal form that the <a href="../statusvariable">StatusVariable</a> will multiply its Base + Additive value.</td></tr><tr><td>Post-Additive</td><td>Similar to additive, except that it is evaluated after the Multiplicative value so it will not be multiplied.</td></tr></tbody></table>
