- Modifier collections can be very useful when you want to use the same collection of modifiers multiple times. Aside from that they are also useful for when you want only one or at least one modifier to pass.
- They are defined in the
modifiers configuration section in general.yml or in any spell file.
modifiers:
collectionName:
checks:
- <condition> <conditionVar> <action> <actionVar>
pass-condition: ALL
- The
checks list is a list of Modifiers. You should use stop or continue modifier actions in Modifier Collections.
-
pass-condition defines the number of listed conditions that must pass for the collection to pass:
ALL
NONE
-
ANY - at least one listed
-
XOR - only one listed
- Modifier collections can be referenced under a spell's modifiers using the
collection modifier condition.
spell:
# . . .
modifiers:
- collection <collectionName> <actionVar>