mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-26 05:50:50 +00:00
unitframes: show name of dead raid members by default
This commit is contained in:
+1
-1
@@ -2489,7 +2489,7 @@ function pfUI.uf:GetStatusValue(unit, pos)
|
|||||||
elseif config == "namehealthbreak" then
|
elseif config == "namehealthbreak" then
|
||||||
local health = ceil(rhp - rhpmax)
|
local health = ceil(rhp - rhpmax)
|
||||||
if UnitIsDead(unitstr) then
|
if UnitIsDead(unitstr) then
|
||||||
return unit:GetColor("health") .. DEAD
|
return unit:GetColor("unit") .. pfUI.uf:GetNameString(unitstr) .. "\n" .. unit:GetColor("health") .. DEAD
|
||||||
elseif health == 0 then
|
elseif health == 0 then
|
||||||
return unit:GetColor("unit") .. pfUI.uf:GetNameString(unitstr)
|
return unit:GetColor("unit") .. pfUI.uf:GetNameString(unitstr)
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user