From c770c597dd5fdef0a8d825383a9ca4717bb2686b Mon Sep 17 00:00:00 2001 From: Arcidayne <9382522b@opayq.com> Date: Wed, 2 Dec 2015 06:38:57 -0800 Subject: [PATCH] Themed Tracker! --- Themed_Tracker/Themed_Tracker.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Themed_Tracker/Themed_Tracker.xml b/Themed_Tracker/Themed_Tracker.xml index d0ac268..9d3301b 100644 --- a/Themed_Tracker/Themed_Tracker.xml +++ b/Themed_Tracker/Themed_Tracker.xml @@ -415,7 +415,7 @@ function QuestFail(z) local theme = tracker_db.themes[z] local brack, head, num, num2, num3, special, subtext, title, text = theme.bracket, theme.heading, theme.number, theme.number2, theme.number3, theme.special, theme.subtext, theme.title, theme.text - local total_q, total_qall = tracker_db.q_db.total_lost + tracker_db.q_db.total_won, tracker_db.q_db.q_cumulative.lost + tracker_db.q_db.q_cumulative.won + local total_q, total_qall = tracker_db.q_db.total_lost + tracker_db.q_db.total_won, tracker_db.q_cumulative.lost + tracker_db.q_cumulative.won tracker_db.q_db.total_wonpct = string.format("%0.1f", 100*(tonumber(tracker_db.q_db.total_won)/tonumber(total_q))) tracker_db.q_db.total_avgqp = (string.format("%0.1f", tonumber(tracker_db.q_db.total_qp)/tonumber(total_q)))