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
SearchableConfigurable
ConditionalConfigurable
The ConditionalConfigurable enum that selects how to search.
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.
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