unitframes: add PoM and PW:S to buff indicators

This commit is contained in:
Nitzan
2020-03-21 15:14:13 +02:00
committed by shagu
parent ee18f19fc8
commit 02df505750
+16 -9
View File
@@ -1965,17 +1965,24 @@ function pfUI.uf:SetupBuffFilter()
end end
-- HOTS -- HOTS
if (pfUI_config.unitframes.all_hots == "1" or myclass == "PRIEST") and pfUI_config.unitframes.show_hots == "1" then if pfUI_config.unitframes.show_hots == "1" then
-- Renew if (pfUI_config.unitframes.all_hots == "1" or myclass == "PRIEST") then
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_renew") -- Renew
end table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_renew")
if (pfUI_config.unitframes.all_hots == "1" or myclass == "DRUID") and pfUI_config.unitframes.show_hots == "1" then -- Power Word: Shield
-- Regrowth table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_powerwordshield")
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_resistnature")
-- Rejuvenation -- Prayer of Mending (TBC)
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_rejuvenation") table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_prayerofmendingtga")
end
if (pfUI_config.unitframes.all_hots == "1" or myclass == "DRUID") then
-- Regrowth
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_resistnature")
-- Rejuvenation
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_rejuvenation")
end
end end
end end