LunaUnitFrames

LunaUnitFrames

268k Downloads

Will you add "animation hp"feature in the future?

LakeshireW opened this issue ยท 2 comments

commented

like what pfui did
-- animation hp
local hpDisplay = pfUI.uf.player.hp.bar:GetValue()
local hpReal = pfUI.uf.player.hpReal
local hpDiff = abs(hpReal - hpDisplay)

  if hpDisplay < hpReal then
    pfUI.uf.player.hp.bar:SetValue(hpDisplay + ceil(hpDiff / 5))
  elseif hpDisplay > hpReal then
    pfUI.uf.player.hp.bar:SetValue(hpDisplay - ceil(hpDiff / 5))
  elseif hpDisplay ~= hpReal then
    pfUI.uf.player.hp.bar:SetValue(hpReal)
  end

i tried modifying pfui code,but failed.

commented

this is more a bug than a feature, it just slows down UI response and delays your reaction.

commented

Thats also my view on it. So no.