actionbar: use spell cooldowns for macros

This commit is contained in:
shagu
2020-06-16 18:31:56 +02:00
parent a2aa9e9f1a
commit 3efb00c4ca
+2
View File
@@ -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