Condition

Description

A conditional command to run when a StatusEffect is applied. It can add or remove other StatusEffects depending on whether the condition is met.

Properties

Name
Type
Description

SearchableConfigurable

ConditionalConfigurable

The ConditionalConfigurable enum that selects how to search.

SearchableData

The StatusEffectData that is searched for in the target.

SearchableComparableName

The ComparableName that is searched for in the target.

SearchableGroup

The StatusEffectGroup that is searched for in the target.

Exists

bool

The bool to check if the searchable exists or doesn't exist.

Add

bool

The bool to add or remove the configurable type.

Scaled

bool

If true it will multiply the Stacks value by how many stacks of the current effect are being added.

UseStacks

bool

If false and removing effects it will remove all instead of a set amount.

Stacks

int

The stack count to add or remove.

ActionConfigurable

ConditionalConfigurable

The ConditionalConfigurable enum that selects how to remove.

ActionData

The StatusEffectData that can be added or removed.

ActionComparableName

The ComparableName that can be removed.

ActionGroup

The StatusEffectGroup that can be removed.

Timing

ConditionalTiming

The ConditionalTiming enum that determines what kind of timing should be applied to the added StatusEffect.

Duration

float

If Duration is selected in the ConditionalTiming enum this float value will be used.

Last updated