From 3efb00c4caa43c231b567a83b83edc1722ed1739 Mon Sep 17 00:00:00 2001 From: shagu Date: Tue, 16 Jun 2020 18:31:56 +0200 Subject: [PATCH] actionbar: use spell cooldowns for macros --- modules/actionbar.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/actionbar.lua b/modules/actionbar.lua index 1a845d8b..a18b961e 100644 --- a/modules/actionbar.lua +++ b/modules/actionbar.lua @@ -589,6 +589,8 @@ pfUI:RegisterModule("actionbar", "vanilla:tbc", function () start, duration, enable = GetShapeshiftFormCooldown(button.id) elseif button.bar == 12 then start, duration, enable = GetPetActionCooldown(button.id) + elseif button.spellslot and button.booktype then + start, duration, enabled = GetSpellCooldown(button.spellslot, button.booktype) else start, duration, enable = GetActionCooldown(button.id) end