Make items_per_trigger = 0 a special case
Posted: Mon Feb 24, 2025 1:44 am
Currently SpoiltoTrigger::items_per_trigger only allows positive values.
My hope is that setting it to 0 would allow us to indicate that we only want it to trigger at most once per stack.
I'm playing with the idea of a script trigger to allow a stack to very specifically decay (spoil) in half. Problem being, that with a very large stack, it'll trigger it so so many times... My method can't even do all that good of an early return to mitigate it.
My hope is that setting it to 0 would allow us to indicate that we only want it to trigger at most once per stack.
I'm playing with the idea of a script trigger to allow a stack to very specifically decay (spoil) in half. Problem being, that with a very large stack, it'll trigger it so so many times... My method can't even do all that good of an early return to mitigate it.