Conditional

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

searchable

The StatusEffectData that is searched for in the target.

exists

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

add

The bool to add or remove the configurable type.

configurable

The ConditionalConfigurable enum that selects how to remove.

data

The StatusEffectData that can be added or removed.

comparableName

The ComparableName that can be removed.

group

The StatusEffectGroup that can be removed.

timing

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

duration

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

Last updated