Origins (Fabric)

Origins (Fabric)

17M Downloads

[Feature Request] Optional entity_action field for Cooldown powers

DarianLStephens opened this issue ยท 1 comments

commented

What I'm trying to do is have something trigger after a cooldown expires, but I haven't found a way to do this cleanly without polling it constantly with an 'action_over_time', but even that's unreliable since it also triggers whenever the player logs in, since both 'rising_action' and 'falling_action', conditioned to trigger when the cooldown hits 0, think the condition happened because it's the first time executing, probably.

To be very specific, I'm wanting to chain cooldowns, but I currently need to do it in a roundabout way that checks for when a cooldown expires and then triggers the next, rather than just having the cooldown trigger it directly when it expires.
This introduces delay and makes the data messier than it needs to be.

I could also have a single long cooldown and condition things based on how far through the cooldown we are, but that doesn't give you a cool bar for each stage of progress, unless maybe I want to use these other methods to just have a cosmetic bar, but that also means I'd need to adjust the values in every place they're used rather than simply changing the cooldown on a single 'bar stage'.

If there's already a way to do this that handles the login issue, I would love to know what it is!