targettarget: always refresh health

This commit is contained in:
shagu
2017-02-18 10:59:01 +01:00
parent 0e125a853f
commit 84ff17ff2f
+2
View File
@@ -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")]