pet: always refresh health

This commit is contained in:
shagu
2017-02-13 21:02:45 +01:00
parent c2c29946cf
commit 73d9cd6cfb
+2
View File
@@ -121,6 +121,8 @@ pfUI:RegisterModule("pet", function ()
pfUI.uf.pet.hp.bar:SetValue(hpDisplay + ceil(hpDiff / pfUI_config.unitframes.animation_speed))
elseif hpDisplay > hpReal then
pfUI.uf.pet.hp.bar:SetValue(hpDisplay - ceil(hpDiff / pfUI_config.unitframes.animation_speed))
else
pfUI.uf.pet.hp.bar:SetValue(hpReal)
end
-- animation power