mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
nameplates: show unit tapping state with superwow
This commit is contained in:
@@ -704,6 +704,10 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
r, g, b, a = RAID_CLASS_COLORS[class].r, RAID_CLASS_COLORS[class].g, RAID_CLASS_COLORS[class].b, 1
|
||||
end
|
||||
|
||||
if superwow_active and unitstr and UnitIsTapped(unitstr) and not UnitIsTappedByPlayer(unitstr) then
|
||||
r, g, b, a = .5, .5, .5, .8
|
||||
end
|
||||
|
||||
if r ~= plate.cache.r or g ~= plate.cache.g or b ~= plate.cache.b then
|
||||
plate.health:SetStatusBarColor(r, g, b, a)
|
||||
plate.cache.r, plate.cache.g, plate.cache.b = r, g, b
|
||||
|
||||
Reference in New Issue
Block a user