From d3ff7a61b11e64039659d9b7ffa3a625ffd56000 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 4 Dec 2015 11:25:41 +0000 Subject: [PATCH] Change score algorithm again 2 --- mods/ctf_stats/gui.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mods/ctf_stats/gui.lua b/mods/ctf_stats/gui.lua index 431e278..71df794 100644 --- a/mods/ctf_stats/gui.lua +++ b/mods/ctf_stats/gui.lua @@ -23,7 +23,7 @@ function ctf_stats.get_formspec(title, players) pstat.captures = pstat.captures or 0 pstat.attempts = pstat.attempts or 0 pstat.score = 0.1 * pstat.kills + 10 * pstat.captures + - 5 * pstat.attempts + pstat.kills / (pstat.deaths + 1) + 5 * pstat.attempts + 5 * pstat.kills / (pstat.deaths + 1) end table.sort(players, function(one, two) return one.score > two.score