Skip to content

Commit

Permalink
pfUI update
Browse files Browse the repository at this point in the history
update priest buffs
always refresh health
  • Loading branch information
KasVital committed Feb 18, 2017
1 parent cfb7c1f commit 6705519
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 2 additions & 0 deletions pfUI/modules/targettarget.lua
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ pfUI:RegisterModule("targettarget", function ()
pfUI.uf.targettarget.hp.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
elseif display > real then
pfUI.uf.targettarget.hp.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
else
pfUI.uf.targettarget.hp.bar:SetValue(real)
end

PowerColor = ManaBarColor[UnitPowerType("targettarget")]
Expand Down
9 changes: 8 additions & 1 deletion pfUI/modules/unitframes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,15 @@ function pfUI.uf:SetupBuffFilter()
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_prayeroffortitude")

-- Prayer of Spirit
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_divinespirit")
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_divinespirit")
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_prayerofspirit")

-- Shadow Protection
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_shadow_antishadow")
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_prayerofshadowprotection")

-- Fear Ward
table.insert(pfUI.uf.buffs, "interface\\icons\\spell_holy_excorcism")
end

if (pfUI_config.unitframes.raid.buffs_classonly ~= "1" or myclass == "PRIEST") and pfUI_config.unitframes.raid.buffs_hots == "1" then
Expand Down

0 comments on commit 6705519

Please sign in to comment.