Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ability cooldowns being triggered when GCD results in failure #72

Merged
merged 3 commits into from
Dec 16, 2024

Conversation

alanbaumgartner
Copy link
Contributor

@alanbaumgartner alanbaumgartner commented Dec 16, 2024

Fixes #51 and fixes #71, I believe #48 is already addressed as well with CooldownState::set and ChargeState::set, but maybe an insert method would make it more clear, not too convinced either way.

doctests were failing due to a Debug bound in ActionLike, popped those on.

The most significant changes are these

I can remove OnGlobalCooldown if its not a good addition, but I think it has merit for giving context on why an ability failed.

@alice-i-cecile
Copy link
Contributor

Good changes :) They need RELEASES.md notes though :) Start a new heading for 0.11 (unreleased) please.

@alanbaumgartner
Copy link
Contributor Author

Good changes :) They need RELEASES.md notes though :) Start a new heading for 0.11 (unreleased) please.

Updated RELEASES.md, thanks for the quick reply 😄!

@alice-i-cecile alice-i-cecile enabled auto-merge (squash) December 16, 2024 19:15
@alice-i-cecile
Copy link
Contributor

Awesome, thank you :) I think we should put together a small release shortly; message me if you have more that you'd like to squeeze in.

@alice-i-cecile alice-i-cecile merged commit 90db0dc into Leafwing-Studios:main Dec 16, 2024
4 checks passed
@alanbaumgartner alanbaumgartner deleted the dev branch December 16, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants