diff --git a/mods/ctf/ctf_stats/chat.lua b/mods/ctf/ctf_stats/chat.lua index d37942a..5e3eed4 100644 --- a/mods/ctf/ctf_stats/chat.lua +++ b/mods/ctf/ctf_stats/chat.lua @@ -236,8 +236,14 @@ minetest.register_chatcommand("makepro", { local stats = ctf_stats.player(param) local deaths = math.max(stats.deaths, 1) - if stats.kills < 1.5 * deaths then - stats.kills = math.ceil(1.51 * deaths) + if stats.kills < 1.3 * deaths then + stats.kills = math.ceil(1.31 * deaths) + modified = true + end + + local attempts = math.max(stats.attempts, 1) + if stats.captures < 0.33 * attempts then + stats.captures = math.ceil(0.331 * attempts) modified = true end