> 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/2.0.0/type-specifics/scriptable-objects/statuseffectdata.md).

# StatusEffectData

<figure><picture><source srcset="/files/kPi8Hr1NSFvCvoz3Ch1L" media="(prefers-color-scheme: dark)"><img src="/files/vtvVOs0vhm3wwjY6G8BZ" alt="" width="188"></picture><figcaption></figcaption></figure>

### Description

StatusEffectDatas contains all of the necessary data to describe a [StatusEffect](/status-effects-framework/2.0.0/type-specifics/classes/statuseffect.md).

### 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 Status Effect group. Multiple groups can be selected.</td></tr><tr><td>ComparableName</td><td>The <a href="/pages/02bLxywPwHRLDlT27aUv">ComparableName</a> that groups similar effects together.</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>Icon</td><td>An optional sprite to keep a reference to.</td></tr><tr><td>StatusEffectName</td><td>An optional name to keep a reference to.</td></tr><tr><td>Description</td><td>An optional description to keep a reference to.</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>MaxStack</td><td>The maximum stack that can be added to a <a href="https://docs.unity3d.com/ScriptReference/MonoBehaviour.html">MonoBehaviour</a>.</td></tr><tr><td>Effects</td><td>The list of <a href="/pages/s7FQEi53BGgrVgcovWko">Effects</a>.</td></tr><tr><td>Conditions</td><td>The list of <a href="/pages/V2q6HRbxRBlmokoeKdZO">Conditionals</a>.</td></tr><tr><td>Modules</td><td>The list of <a href="/pages/el5rReXUuaCcbSU3QDAZ">Modules</a>.</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>
