StatusEffect

Description

StatusEffects hold the StatusEffectData and duration.

Properties

Data

The StatusEffectData reference.

Timing

A StatusEffectTiming enum that designates the timing of the effect (Duration, Infinite, Event, Predicate)

Duration

How long the effect will last. This may be in seconds but can also be tied to UnityEvent invocations.

Stack

The int value count of how many stacks of the effect there are.

Actions

Started

Invoked when the effect starts.

Stopped

Invoked when the effect stops.

OnDurationUpdate

Invoked when the duration value is changed.

OnStackUpdate

Invoked when the stack value is changed

Last updated