Skip to content

Commit

Permalink
Fixed a bug with passive spells not being indexed properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dicebar committed Jul 24, 2024
1 parent 0986735 commit 607a8a0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 24 July 2024
- Various bugfixes for The War Within.

# 23 July 2024
- Fixed various new API changes for The War Within

# 13 May 2024
- Restored support for specialization tests in Cataclysm.
- Restored support for hiding bar groups while in a vehicle in Cataclysm.
Expand Down
5 changes: 4 additions & 1 deletion Shims.lua
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,10 @@ function SHIM:GetSpellBookItemInfo(index, bookType)
return itemType, info.spellID, info.isPassive
end

return GetSpellBookItemInfo(index, bookType)
local itemType, spellID = GetSpellBookItemInfo(index, bookType)
local isPassive = IsPassiveSpell(index, bookType)

return itemType, spellID, isPassive
end

function SHIM:HasPetSpells()
Expand Down

0 comments on commit 607a8a0

Please sign in to comment.