Skip to content

Commit

Permalink
fix(spellflash): bug with action icon frame ids
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidoine committed Dec 20, 2020
1 parent ee7b664 commit e68218b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
9 changes: 0 additions & 9 deletions CHANGELOG.md
Expand Up @@ -11,15 +11,6 @@ All notable changes to this project will be documented in this file. See [standa
- spells that required either a spec or a talent weren't working ([5f46648](https://github.com/Sidoine/Ovale/commit/5f466489215175b18ea2832c24bb3e3796392a69))
- update the license and include in the addon releases ([#755](https://github.com/Sidoine/Ovale/issues/755)) ([ec4ef7c](https://github.com/Sidoine/Ovale/commit/ec4ef7c22f85e0b85660ab9bd866f1c36f28c777))

### [9.0.29](https://github.com/Sidoine/Ovale/compare/9.0.28...9.0.29) (2020-12-20)

### Bug Fixes

- add missing sudden_death_buff ([8226eda](https://github.com/Sidoine/Ovale/commit/8226eda1d40630d7f02da3ec25586eb36e4b3b10))
- execute_fury didn't have the health requirement ([2c348ac](https://github.com/Sidoine/Ovale/commit/2c348acdf97c35015f803d3312c5d7c89b5ed153))
- spells that required either a spec or a talent weren't working ([5f46648](https://github.com/Sidoine/Ovale/commit/5f466489215175b18ea2832c24bb3e3796392a69))
- update the license and include in the addon releases ([#755](https://github.com/Sidoine/Ovale/issues/755)) ([ec4ef7c](https://github.com/Sidoine/Ovale/commit/ec4ef7c22f85e0b85660ab9bd866f1c36f28c777))

### [9.0.28](https://github.com/Sidoine/Ovale/compare/9.0.27...9.0.28) (2020-12-19)

### Bug Fixes
Expand Down
5 changes: 3 additions & 2 deletions src/engine/action-bar.ts
Expand Up @@ -337,8 +337,9 @@ export class OvaleActionBarClass {
if (slot <= 24 || slot > 72) {
name = `ActionButton${((slot - 1) % 12) + 1}`;
} else {
const actionBar = (slot - (slot % 12)) / 12;
name = `${ActionBars[actionBar]}${slot % 12}`;
const slotIndex = slot - 1;
const actionBar = (slotIndex - (slotIndex % 12)) / 12;
name = `${ActionBars[actionBar]}${(slotIndex % 12) + 1}`;
}
}
return _G[name];
Expand Down

0 comments on commit e68218b

Please sign in to comment.