# StatusInt

### Description

The [StatusInt](statusint) contains int values that are dynamically effected by [StatusEffects](../statuseffect).

### Properties

<table data-full-width="true"><thead><tr><th width="250">Name</th><th width="250">Type</th><th>Description</th></tr></thead><tbody><tr><td><code>StatusName</code></td><td><a href="../../scriptable-objects/statusname/statusnameint">StatusNameInt</a></td><td>The <a href="../../scriptable-objects/statusname/statusnameint">StatusNameInt</a> scriptable object.</td></tr><tr><td><code>BaseValue</code></td><td>int</td><td>The base int value.</td></tr><tr><td><code>SignProtected</code></td><td>bool</td><td>If enabled, if will clamp the final value to the sign (+/-) of the BaseValue.</td></tr><tr><td><code>Value</code></td><td>int</td><td>The calculated int value after all <a href="../statuseffect">StatusEffect's</a> <a href="../effect">Effect</a> values. For information on how the final value is calculated see <a href="../effect">Effect</a>.</td></tr></tbody></table>

### Actions

<table data-full-width="true"><thead><tr><th width="250">Name</th><th></th></tr></thead><tbody><tr><td><code>OnValueChanged</code></td><td>Invoked when a new value is assigned. Returns the previous and new values.</td></tr><tr><td><code>OnBaseValueChanged</code></td><td>Invoked when a new base value is assigned. Returns the previous and new base values.</td></tr><tr><td><code>OnSignProtectedChanged</code></td><td>Invoked when a new sign protected is assigned. Returns the previous and new sign protected.</td></tr></tbody></table>
