Fix hunter and vengeful ghost being unable to kill a visiting harlot

This commit is contained in:
skizzerz 2014-12-14 23:53:27 -06:00
parent baa3831ce7
commit a7928399a7

View File

@ -2954,8 +2954,7 @@ def transition_day(cli, gameid=0):
message.append(("\u0002{0}\u0002 sacrificed their life to guard that of another.").format(bodyguard))
novictmsg = False
break
elif victim in var.ROLES["harlot"] and var.HVISITED.get(victim) and victim not in var.DYING and victim not in dead:
if victim in onlybywolves:
elif victim in var.ROLES["harlot"] and var.HVISITED.get(victim) and victim not in var.DYING and victim not in dead and victim in onlybywolves:
message.append("The wolves' selected victim was a harlot, who was not at home last night.")
novictmsg = False
elif (victim in var.ROLES["lycan"] or victim in var.LYCANTHROPES) and victim in onlybywolves: