mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-13 00:42:40 +00:00
nameplates: add option to only show target castbar
This commit is contained in:
@@ -865,7 +865,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
end
|
||||
|
||||
-- castbar update
|
||||
if C.nameplates["showcastbar"] == "1" then
|
||||
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)
|
||||
|
||||
if not cast then
|
||||
|
||||
Reference in New Issue
Block a user