Describe the solution you'd like
Being able to either add, or activate/deactivate meta and post effects on modifiers. Making it, so we can do custom logic while the effect is handled at runtime
Implementation
There are two approaches:
Removing and adding meta/post effects inside the effect.
Activating and deactivating them instead.
Activation/deactivation is much better for our ram usage, amount of cloning, and generally preferred.
We'd have an int that acts like a bitset that sets the flags of which meta and post effects are active. Storing the default bitset state, and defaulting to it on ResetState.
Describe the solution you'd like Being able to either add, or activate/deactivate meta and post effects on modifiers. Making it, so we can do custom logic while the effect is handled at runtime
Implementation There are two approaches:
Activation/deactivation is much better for our ram usage, amount of cloning, and generally preferred. We'd have an int that acts like a bitset that sets the flags of which meta and post effects are active. Storing the default bitset state, and defaulting to it on
ResetState
.