> For the complete documentation index, see [llms.txt](https://maraudical.gitbook.io/status-effects-framework/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://maraudical.gitbook.io/status-effects-framework/1.2.0/type-specifics/classes/statuseffectdata.md).

# StatusEffectData

### Description

StatusEffectData contains all of the necessary data to describe an effect.

### Properties

<table data-header-hidden data-full-width="false"><thead><tr><th width="224"></th><th></th></tr></thead><tbody><tr><td>group</td><td>The string group name.</td></tr><tr><td>name</td><td>The string name.</td></tr><tr><td>baseValue</td><td>The base value is used mainly when calculating how effects should be stacked. An <a href="/pages/s7FQEi53BGgrVgcovWko">Effect</a> can use this value over its own.</td></tr><tr><td>allowEffectStacking</td><td>True if multiple <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffects</a> of the same StatusEffectData can exist on the same <a href="https://docs.unity3d.com/ScriptReference/MonoBehaviour.html">MonoBehaviour</a>.</td></tr><tr><td>nonStackingBehaviour</td><td>When stacking is not allowed, the behaviour determines how to resolve a situation when the same <a href="/pages/OpUFQnv9JKaTU0cxnlHw">StatusEffect</a> is added. See below for more information.</td></tr><tr><td>effects</td><td>The list of <a href="/pages/s7FQEi53BGgrVgcovWko">Effects</a>.</td></tr><tr><td>customEffect</td><td>The <a href="/pages/el5rReXUuaCcbSU3QDAZ">CustomEffect</a> reference. This is optional.</td></tr></tbody></table>

### Non-Stacking Behaviour

The non-stacking behavior determines how a duplicate status effect should resolve.

<table data-header-hidden><thead><tr><th width="227"></th><th></th></tr></thead><tbody><tr><td>MatchHighestValue</td><td>Match Highest Value will take the value of the effect and recalculate the duration to the equivalent final value over the time. This is the <strong>recommended</strong> option for non-stacking behaviour.</td></tr><tr><td>TakeHighestValue</td><td>Regardless of the durations, use the effect with the highest value.</td></tr><tr><td>TakeHighestDuration</td><td>Regardless of the value, use the effect with the highest duration.</td></tr><tr><td>TakeNewest</td><td>Use the newest effect.</td></tr><tr><td>TakeOldest</td><td>Use the oldest effect.</td></tr></tbody></table>
