mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
nameplates: only show stun border if no target detected
This commit is contained in:
@@ -48,7 +48,7 @@ pfUI:RegisterModule("nameplates", "vanilla:tbc", function ()
|
||||
color = combatstate.THREAT
|
||||
elseif C.nameplates.ccombatnothreat == "1" and UnitExists(target) then
|
||||
color = combatstate.NOTHREAT
|
||||
elseif C.nameplates.ccombatstun == "1" and not UnitIsPlayer(guid) then
|
||||
elseif C.nameplates.ccombatstun == "1" and not UnitExists(target) and not UnitIsPlayer(guid) then
|
||||
color = combatstate.STUN
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user