mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
thirdparty: add support for superwow channel skills
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user