mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-14 01:10:48 +00:00
targettarget: always refresh health
This commit is contained in:
@@ -102,6 +102,8 @@ pfUI:RegisterModule("targettarget", function ()
|
|||||||
pfUI.uf.targettarget.hp.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
|
pfUI.uf.targettarget.hp.bar:SetValue(display + ceil(diff / pfUI_config.unitframes.animation_speed))
|
||||||
elseif display > real then
|
elseif display > real then
|
||||||
pfUI.uf.targettarget.hp.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
|
pfUI.uf.targettarget.hp.bar:SetValue(display - ceil(diff / pfUI_config.unitframes.animation_speed))
|
||||||
|
else
|
||||||
|
pfUI.uf.targettarget.hp.bar:SetValue(real)
|
||||||
end
|
end
|
||||||
|
|
||||||
PowerColor = ManaBarColor[UnitPowerType("targettarget")]
|
PowerColor = ManaBarColor[UnitPowerType("targettarget")]
|
||||||
|
|||||||
Reference in New Issue
Block a user