From 175556072228b388313a73bd56b306049998932c Mon Sep 17 00:00:00 2001 From: Darthpred Date: Mon, 15 Oct 2012 12:41:06 +0400 Subject: [PATCH] I was drunk or something when wrote exp/rep texts 19500000% of rested? easily lol. fixed that --- ElvUI_SLE/modules/exprepbar/exprepbar.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/exprepbar/exprepbar.lua b/ElvUI_SLE/modules/exprepbar/exprepbar.lua index ead4297..9b01bf8 100644 --- a/ElvUI_SLE/modules/exprepbar/exprepbar.lua +++ b/ElvUI_SLE/modules/exprepbar/exprepbar.lua @@ -24,11 +24,11 @@ function M:UpdateExperience(event) if E.db.sle.exprep.explong then if textFormat == 'PERCENT' then - text = string.format('%d%% '..L['Rested:']..' %d%%', cur / max * 100, rested / max * 100) + text = string.format('%d%% '..L['Rested:']..' %d%%', cur / max * 100, rested / max * 100) elseif textFormat == 'CURMAX' then - text = string.format('%s - %s '..L['Rested:']..' %s', cur, max, rested) + text = string.format('%s - %s '..L['Rested:']..' %s', cur, max, rested) elseif textFormat == 'CURPERC' then - text = string.format('%s - %d%% '..L['Rested:']..' [%d%%]', cur, cur / max * 100, rested, rested / max * 100) + text = string.format('%s - %d%% '..L['Rested:']..' %s [%d%%]', cur, cur / max * 100, rested, rested / max * 100) end else if textFormat == 'PERCENT' then -- 1.7.9.5