From 73d9cd6cfbe1da8f757e45518283eca50643d47c Mon Sep 17 00:00:00 2001 From: shagu Date: Mon, 13 Feb 2017 21:02:45 +0100 Subject: [PATCH] pet: always refresh health --- modules/pet.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/pet.lua b/modules/pet.lua index 6b64eb16..e8fc1604 100644 --- a/modules/pet.lua +++ b/modules/pet.lua @@ -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