Increase score requirements for is_pro

Closes #519
This commit is contained in:
Thomas--S 2019-12-05 19:36:03 +01:00 committed by GitHub
parent 6e35425e4c
commit 19ce34153b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -198,7 +198,7 @@ end
function ctf_stats.is_pro(name) function ctf_stats.is_pro(name)
local stats = ctf_stats.player(name) local stats = ctf_stats.player(name)
local kd = stats.kills / (stats.deaths == 0 and 1 or stats.deaths) local kd = stats.kills / (stats.deaths == 0 and 1 or stats.deaths)
return stats.score > 1000 and kd > 1.5 return stats.score > 10000 and kd > 1.5
end end
ctf.register_on_join_team(function(name, tname) ctf.register_on_join_team(function(name, tname)