StatusInt

Description

The StatusInt contains int values that are dynamically effected by StatusEffects.

Properties

Name
Type
Description

StatusName

The StatusNameInt scriptable object.

BaseValue

int

The base int value.

SignProtected

bool

If enabled, if will clamp the final value to the sign (+/-) of the BaseValue.

Value

int

The calculated int value after all StatusEffect's Effect values. For information on how the final value is calculated see Effect.

Actions

Name

OnValueChanged

Invoked when a new value is assigned. Returns the previous and new values.

OnBaseValueChanged

Invoked when a new base value is assigned. Returns the previous and new base values.

OnSignProtectedChanged

Invoked when a new sign protected is assigned. Returns the previous and new sign protected.

Last updated