From bcf6feafb372d1fdb676f2e7d76d360e8a872277 Mon Sep 17 00:00:00 2001 From: "Vgr E. Barry" Date: Fri, 30 Oct 2015 22:42:51 -0400 Subject: [PATCH] Fix dullahan target count --- src/wolfgame.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 56479f1..f8c53bc 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -7875,7 +7875,7 @@ def start(cli, nick, chan, forced = False, restart = ""): var.LAST_VOTES = None if var.ROLES["dullahan"]: # assign random targets to dullahan to kill - max_targets = len(pl) // 2 - 1 + max_targets = math.ceil(8.1 * math.log(len(pl), 10) - 5) for dull in var.ROLES["dullahan"]: var.DULLAHAN_TARGETS[dull] = set() dull_targets = Event("dullahan_targets", {"targets": var.DULLAHAN_TARGETS}) # support sleepy