mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-29 18:56:02 +00:00
pet: always refresh health
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user