Skip to content

Commit

Permalink
Update for UNIT_SPELLCAST event changes in WoW 8.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Phanx committed May 6, 2018
1 parent a18b133 commit 2469684
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -644,8 +644,12 @@ end

local failborder
----------------------------------------------------
function CoolLine:UNIT_SPELLCAST_FAILED(unit, spell)
function CoolLine:UNIT_SPELLCAST_FAILED(unit, spell, id8)
----------------------------------------------------
if IS_WOW_8 then
spell = GetSpellInfo(id8) -- TEMPORARY, need to switch to using spell IDs throughout
end

if #cooldowns == 0 then return end
for index, frame in pairs(cooldowns) do
if frame.name == spell then
Expand Down

0 comments on commit 2469684

Please sign in to comment.