# Effect

### Description

Effects dynamically adjust the value of [StatusVariables](https://maraudical.gitbook.io/status-effect-framework/1.6.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 status name effected.</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. Which can be overridden by the base value of the <a href="">StatusEffectData</a>. Note that for ints the base value will be floored, and the bool value is false for 0 and true for anything else.</td></tr></tbody></table>

### Value Modifier

The value modifier will tell the [StatusVariable](https://maraudical.gitbook.io/status-effect-framework/1.6.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="../../classes/statusvariable">StatusVariable</a> base value.</td></tr><tr><td>Multiplicative</td><td>The percentage in decimal form that the <a href="../../classes/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>
