mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-12 00:20:01 +00:00
thirdparty: add support for superwow spell cast
This commit is contained in:
@@ -892,6 +892,11 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
if C.nameplates["showcastbar"] == "1" and ( C.nameplates["targetcastbar"] == "0" or target ) then
|
||||
local cast, nameSubtext, text, texture, startTime, endTime, isTradeSkill = UnitCastingInfo(target and "target" or name)
|
||||
|
||||
-- read enemy casts from SuperWoW if enabled
|
||||
if superwow_active then
|
||||
cast, nameSubtext, text, texture, startTime, endTime, isTradeSkill = UnitCastingInfo(nameplate.parent:GetName(1))
|
||||
end
|
||||
|
||||
if not cast then
|
||||
nameplate.castbar:Hide()
|
||||
elseif cast then
|
||||
|
||||
Reference in New Issue
Block a user