Skip to content

Commit

Permalink
thirdparty: add support for superwow channel skills
Browse files Browse the repository at this point in the history
  • Loading branch information
shagu committed May 10, 2024
1 parent 59878b3 commit ae94b5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/thirdparty-vanilla.lua
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
local unitcast = CreateFrame("Frame")
unitcast:RegisterEvent("UNIT_CASTEVENT")
unitcast:SetScript("OnEvent", function()
if event == "UNIT_CASTEVENT" and arg3 == "START" then
if arg3 == "START" or arg3 == "CAST" or arg3 == "CHANNEL" then
-- human readable argument list
local guid = arg1
local target = arg2
Expand All @@ -831,7 +831,7 @@ pfUI:RegisterModule("thirdparty-vanilla", "vanilla", function()
libcast.db[guid].start = GetTime()
libcast.db[guid].casttime = timer
libcast.db[guid].icon = icon
libcast.db[guid].channel = false
libcast.db[guid].channel = event_type == "CHANNEL" or false

-- write state variable
superwow_active = true
Expand Down

0 comments on commit ae94b5d

Please sign in to comment.