WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /miniHUD
    from Rev 672 to Rev 677
    Reverse comparison

Rev 672 → Rev 677

miniHUD.lua
124,6 → 124,8
 
elseif event == "UNIT_HEALTH" or event == "UNIT_HEALTH_FREQUENT" then
if arg == "player" or arg == "target" then
local r,g,b = UnitSelectionColor(arg)
self[arg]:SetStatusBarColor(r,g,b)
self[arg]:SetMinMaxValues(0,UnitHealthMax(arg))
self[arg]:SetValue(UnitHealth(arg))
local percent = UnitHealth(arg)/UnitHealthMax(arg)