From 9d12e83f1aa79d266e9c790907604a29a032ce56 Mon Sep 17 00:00:00 2001 From: doadin Date: Sat, 17 Feb 2024 16:49:15 -0500 Subject: [PATCH] [Core] Improve Detection When Spells Change --- Core.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core.lua b/Core.lua index 5c429e2..0db0bfa 100644 --- a/Core.lua +++ b/Core.lua @@ -171,6 +171,8 @@ function MaxDps:OnEnable() self:RegisterEvent('ACTIONBAR_SLOT_CHANGED', 'ButtonFetch'); self:RegisterEvent('ACTIONBAR_HIDEGRID', 'ButtonFetch'); self:RegisterEvent('ACTIONBAR_PAGE_CHANGED', 'ButtonFetch'); + self:RegisterEvent('ACTIONBAR_UPDATE_STATE', 'ButtonFetch'); + self:RegisterEvent('UPDATE_BONUS_ACTIONBAR', 'ButtonFetch'); self:RegisterEvent('LEARNED_SPELL_IN_TAB', 'ButtonFetch'); self:RegisterEvent('CHARACTER_POINTS_CHANGED', 'ButtonFetch'); self:RegisterEvent('ACTIVE_TALENT_GROUP_CHANGED', 'ButtonFetch'); @@ -178,6 +180,7 @@ function MaxDps:OnEnable() self:RegisterEvent('UPDATE_MACROS', 'ButtonFetch'); self:RegisterEvent('VEHICLE_UPDATE', 'ButtonFetch'); self:RegisterEvent('UPDATE_STEALTH', 'ButtonFetch'); + self:RegisterEvent('SPELLS_CHANGED', 'ButtonFetch'); self:RegisterEvent('UNIT_ENTERED_VEHICLE'); self:RegisterEvent('UNIT_EXITED_VEHICLE');