Is your feature request related to a problem? Please describe.
Effects have no way to trigger other effects. In other words, effects check their conditions independently of each other, so two effects that have the same random condition will not always execute together.
Describe the solution you'd like
Effects can contain sub-effects which are only executed if the parent effect's conditions pass. Sub effects don't need conditions, they instead inherit the conditions of the parent effect.
Additional context
This would probably be implemented via a .sub() method on the effect builder class. The method will take one argument, a sub effect to be added to this effect.
Is your feature request related to a problem? Please describe. Effects have no way to trigger other effects. In other words, effects check their conditions independently of each other, so two effects that have the same random condition will not always execute together.
Describe the solution you'd like Effects can contain sub-effects which are only executed if the parent effect's conditions pass. Sub effects don't need conditions, they instead inherit the conditions of the parent effect.
Additional context This would probably be implemented via a
.sub()
method on the effect builder class. The method will take one argument, a sub effect to be added to this effect.