From 1b86b760a3f1e48b6003abca0d45ebf5f34b0710 Mon Sep 17 00:00:00 2001 From: Parnic Date: Tue, 19 Oct 2010 03:52:32 +0000 Subject: [PATCH] - more minor fixes to vengeance text formatting --- modules/Vengeance.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/Vengeance.lua b/modules/Vengeance.lua index 58714e4..1b5474e 100644 --- a/modules/Vengeance.lua +++ b/modules/Vengeance.lua @@ -103,8 +103,8 @@ function Vengeance.prototype:Update(unit) end self:UpdateBar(self.current / self.max, "Vengeance") - self:SetBottomText1(floor(self.current / self.max * 100) .. "%") - self:SetBottomText2(self.current) + self:SetBottomText1(floor((self.current / self.max) * 100) .. "%") + self:SetBottomText2(tostring(self.current) .."/"..tostring(self.max)) end -- Load for tanks only