From 02df5057504cd857e0108ed5734858ef84fc7bb8 Mon Sep 17 00:00:00 2001 From: Nitzan Date: Sat, 21 Mar 2020 15:14:13 +0200 Subject: [PATCH] unitframes: add PoM and PW:S to buff indicators --- api/unitframes.lua | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/api/unitframes.lua b/api/unitframes.lua index 718ecdca..ca15bd52 100644 --- a/api/unitframes.lua +++ b/api/unitframes.lua @@ -1965,17 +1965,24 @@ function pfUI.uf:SetupBuffFilter() end -- HOTS - if (pfUI_config.unitframes.all_hots == "1" or myclass == "PRIEST") and pfUI_config.unitframes.show_hots == "1" then - -- Renew - table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_renew") - end + if pfUI_config.unitframes.show_hots == "1" then + if (pfUI_config.unitframes.all_hots == "1" or myclass == "PRIEST") then + -- Renew + 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 - -- Regrowth - table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_resistnature") + -- Power Word: Shield + table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_powerwordshield") - -- Rejuvenation - table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_rejuvenation") + -- Prayer of Mending (TBC) + 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