From 906fc20164dc06be946a441953d64a00f2d4b4c7 Mon Sep 17 00:00:00 2001 From: jcao219 Date: Wed, 27 Jul 2011 20:34:48 -0500 Subject: [PATCH] now the gunner definitely dies when he is killed by wolf at night --- wolfgame.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wolfgame.py b/wolfgame.py index dc59262..2669740 100644 --- a/wolfgame.py +++ b/wolfgame.py @@ -971,9 +971,9 @@ def transition_day(cli, gameid=0): wc.remove(crow) # don't kill off werecrows that observed deadwolf = random.choice(var.ROLES["wolf"]+wc) - message.append(("The wolves made the fortunate mistake of attacking "+ - "a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+ - " was shot dead.").format(deadwolf)) + cli.msg(chan, ("The wolves made the fortunate mistake of attacking "+ + "a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+ + " was shot dead.").format(deadwolf)) if not del_player(cli, deadwolf): return if var.VICTIM and (var.VICTIM not in var.ROLES["harlot"] or # not a harlot