Skip to content

Conversation

@eheimburg
Copy link
Contributor

Removes earlier temporary code that hard-coded separate sprite lists per class. it now uses the Sprites assigned in the GameDataSource. If a hero's class has an unimplemented skill (or the skill has no assigned Sprite), the button for that skill is hidden.

I'm not sure if this has a new bug number or not. This was originally [GOMPS-347] and [GOMPS-348], "wizard Freeze button doesn't work" and "rogue Dash button doesn't work". For this release milestone, the fix to those bugs is to make those buttons go away. The most elegant way to do that was just to remove the crufty code from HeroActionBar so that it would correctly represent the GameDataSource data.

Removes earlier temp code that hard-coded separate sprite lists per class. Now uses the Sprites assigned in the GameDataSource. If a class has an unimplemented skill (or the skill has no assigned Sprite), the button for that skill is hidden.
@SamuelBellomo SamuelBellomo added 0-URGENT Blocker for a release and needs to be merged ASAP 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 29, 2021
@fernando-cortez fernando-cortez added 3-Good to Merge and removed 1-Needs Review PR needs attention from the assignee and reviewers labels Mar 29, 2021
@pdeschain pdeschain merged commit 249943a into release/v0.1.0-experimental Mar 29, 2021
@pdeschain pdeschain deleted the feature/hide_buttons_for_unimplemented_attacks branch March 29, 2021 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0-URGENT Blocker for a release and needs to be merged ASAP 3-Good to Merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants