Enable GCD, target target buffs in Classic 1.15+

This commit is contained in:
Parnic
2024-01-07 14:49:42 -06:00
parent 5321f7c64d
commit c85c304eb6
4 changed files with 18 additions and 2 deletions

View File

@ -289,6 +289,12 @@ function GlobalCoolDown.prototype:GetSpellId()
if not GetSpellInfo(defaultSpells["PALADIN"]) then
defaultSpells["PALADIN"] = 635
end
if not GetSpellInfo(defaultSpells["MAGE"]) then
defaultSpells["MAGE"] = 133
end
if not GetSpellInfo(defaultSpells["WARRIOR"]) then
defaultSpells["WARRIOR"] = 6673
end
local _, unitClass = UnitClass("player")
return defaultSpells[unitClass]