unitframes: add option for reverse unitstr text

This commit is contained in:
shagu
2021-12-12 22:50:21 +01:00
parent e4b888fe70
commit 90dc763411
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -2286,6 +2286,10 @@ function pfUI.uf:GetStatusValue(unit, pos)
local name = unit:GetColor("unit") .. UnitName(unitstr)
local level = unit:GetColor("level") .. pfUI.uf:GetLevelString(unitstr)
return level .. " " .. name
elseif config == "unitrev" then
local name = unit:GetColor("unit") .. UnitName(unitstr)
local level = unit:GetColor("level") .. pfUI.uf:GetLevelString(unitstr)
return name .. " " .. level
elseif config == "name" then
return unit:GetColor("unit") .. UnitName(unitstr)
elseif config == "nameshort" then