nameplates: add option to hide totems

This commit is contained in:
stokbaek
2017-11-18 01:59:41 +01:00
committed by Shagu
parent 39db877d9e
commit d699fc9e20
3 changed files with 11 additions and 0 deletions
+9
View File
@@ -367,6 +367,15 @@ pfUI:RegisterModule("nameplates", function ()
end
end
-- hide totems
if C.nameplates.totems == "1" and not this.needNameUpdate then
for totem in pairs(L["totems"]) do
if string.find(unitname, totem) then
this:Hide()
end
end
end
-- level elite indicator
if this.needEliteUpdate and pfUI.nameplates.mobs[unitname] then
if level:GetText() ~= nil then