I was drunk or something when wrote exp/rep texts
Darthpred [10-15-12 - 08:41]
I was drunk or something when wrote exp/rep texts
19500000% of rested? easily lol. fixed that
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