targettarget: fix powerbar value

This commit is contained in:
shagu
2016-12-10 15:34:59 +01:00
parent 220f55e45f
commit 4bf37442b5
+2
View File
@@ -101,6 +101,8 @@ pfUI:RegisterModule("targettarget", function ()
pfUI.uf.targettarget.power.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
elseif display > real then
pfUI.uf.targettarget.power.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
else
pfUI.uf.targettarget.power.bar:SetValue(real)
end
end)