mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-01 03:19:59 +00:00
unitframes: add PoM and PW:S to buff indicators
This commit is contained in:
+10
-3
@@ -1965,12 +1965,18 @@ 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
|
||||||
|
if (pfUI_config.unitframes.all_hots == "1" or myclass == "PRIEST") then
|
||||||
-- Renew
|
-- Renew
|
||||||
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_renew")
|
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_renew")
|
||||||
end
|
|
||||||
|
|
||||||
if (pfUI_config.unitframes.all_hots == "1" or myclass == "DRUID") and pfUI_config.unitframes.show_hots == "1" then
|
-- Power Word: Shield
|
||||||
|
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_powerwordshield")
|
||||||
|
|
||||||
|
-- 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
|
-- Regrowth
|
||||||
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_resistnature")
|
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_resistnature")
|
||||||
|
|
||||||
@@ -1978,6 +1984,7 @@ function pfUI.uf:SetupBuffFilter()
|
|||||||
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_rejuvenation")
|
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_nature_rejuvenation")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
function pfUI.uf:GetLevelString(unitstr)
|
function pfUI.uf:GetLevelString(unitstr)
|
||||||
local level = UnitLevel(unitstr)
|
local level = UnitLevel(unitstr)
|
||||||
|
|||||||
Reference in New Issue
Block a user