From 26f798456e4fd1e9cb42f3540356381907ba7033 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Sat, 14 Nov 2015 23:45:23 -0600 Subject: [PATCH] Expand werecrow observe list Now observes every role that acts at night as "not in bed" EXCEPT: - matchmaker - assassin - clone - turncoat matchmaker and clone are night 1-only, and allowing them to be observed would only serve to reduce werecrow power. assassin and turncoat's night actions are passive and not anything that would require staying up late at night or moving around at night for. In the event that a luck or misdirection totem is applied, wolf-aligned roles are now also observable as not in bed should they act. This will also apply if RESTRICT_WOLFCHAT is used to take those roles out of wolfchat. --- src/wolfgame.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/wolfgame.py b/src/wolfgame.py index 136329c..31d0eed 100644 --- a/src/wolfgame.py +++ b/src/wolfgame.py @@ -4356,7 +4356,9 @@ def transition_day(cli, gameid=0): if crow not in var.ROLES["werecrow"]: continue if ((target in list(var.HVISITED.keys()) and var.HVISITED[target]) or # if var.HVISITED[target] is None, harlot visited self - target in var.SEEN or target in var.SHAMANS or (target in list(var.GUARDED.keys()) and var.GUARDED[target])): + target in var.SEEN or target in var.SHAMANS or (target in list(var.GUARDED.keys()) and var.GUARDED[target]) or + target in var.OTHER_KILLS or (target in var.PRAYED and var.PRAYED[target][0] > 0) or target in var.CHARMERS or + target in var.OBSERVED or target in var.KILLS or target in var.HEXED or target in var.CURSED): pm(cli, crow, messages["werecrow_success"].format(target)) else: