Right now, stacks can be reset by modifier action (usually callbacks). But this is limiting
Features
It would be nice to have a stack-only timer, that starts ticking when there's 1 or more stacks, and resets the stack count to 0 after it's finished (most likely also reverting the effects).
The other possible feature is to have independent stack timer timeouts. Each time a new stack gets added, a new timer will start. When that timer goes down to 0, we decrement the stacks.
It's important to handle the stack effects correctly here, since it's easy to double the effect.
Right now, stacks can be reset by modifier action (usually callbacks). But this is limiting
Features It would be nice to have a stack-only timer, that starts ticking when there's 1 or more stacks, and resets the stack count to 0 after it's finished (most likely also reverting the effects).
The other possible feature is to have independent stack timer timeouts. Each time a new stack gets added, a new timer will start. When that timer goes down to 0, we decrement the stacks.
It's important to handle the stack effects correctly here, since it's easy to double the effect.