From 607a8a091f206032bdd2dd7046fbf24537ab7709 Mon Sep 17 00:00:00 2001 From: Dicebar Date: Wed, 24 Jul 2024 09:50:12 +0200 Subject: [PATCH] Fixed a bug with passive spells not being indexed properly. --- CHANGELOG.md | 6 ++++++ Shims.lua | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ced8887..aff7b19 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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. diff --git a/Shims.lua b/Shims.lua index af480f1..af7de42 100644 --- a/Shims.lua +++ b/Shims.lua @@ -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()