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,10 +2954,9 @@ def transition_day(cli, gameid=0):
message.append(("\u0002{0}\u0002 sacrificed their life to guard that of another.").format(bodyguard)) message.append(("\u0002{0}\u0002 sacrificed their life to guard that of another.").format(bodyguard))
novictmsg = False novictmsg = False
break break
elif victim in var.ROLES["harlot"] and var.HVISITED.get(victim) and victim not in var.DYING and victim not in dead: 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:
if victim in onlybywolves: message.append("The wolves' selected victim was a harlot, who was not at home last night.")
message.append("The wolves' selected victim was a harlot, who was not at home last night.") novictmsg = False
novictmsg = False
elif (victim in var.ROLES["lycan"] or victim in var.LYCANTHROPES) and victim in onlybywolves: elif (victim in var.ROLES["lycan"] or victim in var.LYCANTHROPES) and victim in onlybywolves:
message.append("A chilling howl was heard last night. It appears there is another werewolf in our midst!") message.append("A chilling howl was heard last night. It appears there is another werewolf in our midst!")
pm(cli, victim, 'HOOOOOOOOOWL. You have become... a wolf!') pm(cli, victim, 'HOOOOOOOOOWL. You have become... a wolf!')