StatusEffect

Description

StatusEffects contain the StatusEffectData, timing, duration, and stack count.

Properties

Name
Type
Description

Timing

StatusEffectTiming

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

Duration

float

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

Stack

int

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

Actions

Name
Description

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