From d029302eadf6a54335d0ee010fcb18a76af06261 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Tue, 28 Mar 2017 11:47:30 -0500 Subject: [PATCH] Reduce delay range for villagergame Now has a standard deviation of 1.5 seconds rather than 3 seconds, which makes it a lot easier (hopefully) to identify when lykos is wolf. --- src/gamemodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gamemodes.py b/src/gamemodes.py index 1235c48..87e3f43 100644 --- a/src/gamemodes.py +++ b/src/gamemodes.py @@ -215,7 +215,7 @@ class VillagergameMode(GameMode): def prolong_night(self, cli, var, gameid, transition_day): nspecials = len(var.ROLES["seer"] | var.ROLES["harlot"] | var.ROLES["shaman"] | var.ROLES["crazed shaman"]) - rand = random.gauss(5, 3) + rand = random.gauss(5, 1.5) if rand <= 0 and nspecials > 0: transition_day(cli, gameid=gameid) else: