fix: action bar spells progress bars ignoring group cooldowns #748
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Spell slots on the action bar only show progress bars for the spell's individual cooldown. The logic for doing so is there (& seems to work correctly), it's just the group check seems to be written for an older data structure of
spells.lua
.Behavior
Actual
If you assign an attack spell to slot 1 (e.g. lightning strike) and another attack spell to slot 2 (e.g. fire wave), and then cast fire wave, no progress bar will be shown on spell slot 1.
Expected
Since fire wave causes spell group 1 to go into cooldown for 2s, I expect slot 1 to show a progress bar for 2s.
Type of change
Please delete options that are not relevant.
How Has This Been Tested
Test Configuration:
Checklist