StatusFloat

Description

The StatusFloat contains float values that are dynamically effected by StatusEffects.

Properties

Name
Type
Description

StatusName

The StatusNameFloat scriptable object.

BaseValue

float

The base float value.

SignProtected

bool

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

Value

float

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

Actions

Name
Description

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