mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-22 15:46:56 +00:00
unitframes: add option for reverse unitstr text
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user