mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-05 13:10:00 +00:00
pet: fix powerbar values
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ pfUI:RegisterModule("pet", function ()
|
||||
|
||||
if powerDisplay < powerReal then
|
||||
pfUI.uf.pet.power.bar:SetValue(powerDisplay + ceil(powerDiff / pfUI_config.unitframes.animation_speed))
|
||||
elseif hpDisplay > hpReal then
|
||||
elseif powerDisplay > powerReal then
|
||||
pfUI.uf.pet.power.bar:SetValue(powerDisplay - ceil(powerDiff / pfUI_config.unitframes.animation_speed))
|
||||
end
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user