From 380e754422879677023b9d79f18135a04a2c44ca Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Fri, 4 Dec 2015 11:24:39 +0000 Subject: [PATCH] Change score algorithm again --- 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 09d4bf1..431e278 100644 --- a/mods/ctf_stats/gui.lua +++ b/mods/ctf_stats/gui.lua @@ -22,7 +22,7 @@ function ctf_stats.get_formspec(title, players) pstat.deaths = pstat.deaths or 0 pstat.captures = pstat.captures or 0 pstat.attempts = pstat.attempts or 0 - pstat.score = pstat.kills + 10 * pstat.captures + + pstat.score = 0.1 * pstat.kills + 10 * pstat.captures + 5 * pstat.attempts + pstat.kills / (pstat.deaths + 1) end table.sort(players, function(one, two)