From 1d27eae62fc70a9eb4a443589d6867cb07d4044c Mon Sep 17 00:00:00 2001 From: Repooc Date: Thu, 3 Nov 2016 04:12:06 -0400 Subject: [PATCH] removed left over test var --- ElvUI_SLE/modules/unitframes/unitframes.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/modules/unitframes/unitframes.lua b/ElvUI_SLE/modules/unitframes/unitframes.lua index 52d3009..c4fcf9f 100644 --- a/ElvUI_SLE/modules/unitframes/unitframes.lua +++ b/ElvUI_SLE/modules/unitframes/unitframes.lua @@ -15,7 +15,7 @@ function SUF:NewTags() else local curHealth = UnitHealth(unit) local perHealth = (UnitHealth(unit)/UnitHealthMax(unit))*100 - local id = UnitIsDead("player") + if curHealth >= 1e9 then return format("%.2fB", curHealth / 1e9) .. " | " .. format("%.0f", perHealth) elseif curHealth >= 1e6 then -- 1.7.9.5