mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-28 02:16:02 +00:00
unitframes: add option to use short names
This commit is contained in:
@@ -1676,6 +1676,8 @@ function pfUI.uf:GetStatusValue(unit, pos)
|
||||
return level .. " " .. name
|
||||
elseif config == "name" then
|
||||
return unit:GetColor("unit") .. UnitName(unitstr)
|
||||
elseif config == "nameshort" then
|
||||
return unit:GetColor("unit") .. strsub(UnitName(unitstr), 0, 3)
|
||||
elseif config == "level" then
|
||||
return unit:GetColor("level") .. pfUI.uf:GetLevelString(unitstr)
|
||||
elseif config == "class" then
|
||||
|
||||
Reference in New Issue
Block a user