PotionEffectCondition - Septillihedron/SuperheroesPlusSchema GitHub Wiki
PotionEffectCondition - An object
Properties
mode - Required enum
Allowed values
- ALL
- OTHER
- SELF
The mode of operation
Defaults to SELF
EffectList
otherwise - OptionalA list of effects that will run if this condition is false
EffectList
else - OptionalA list of effects that will run if this condition is false
PotionEffectType
effect - RequiredThe type of potion to check. If not specified, it will check for any type of potion
RangeData
potency - OptionalThe range of potion potency to check against
Defaults to -Infinity - Infinity
RangeData
duration - OptionalThe range of potion duration to check against (in seconds)
Defaults to -Infinity - Infinity