- more minor fixes to vengeance text formatting

This commit is contained in:
Parnic
2010-10-19 03:52:32 +00:00
parent 564037b353
commit 1b86b760a3

View File

@ -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