# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://maraudical.gitbook.io/status-effect-framework/1.6.0/type-specifics/scriptable-objects/statuseffectdata/effect.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
