fix bug where targeted harlot could still shoot wolves (and get an extra bullet)
This commit is contained in:
parent
8342114844
commit
ffdd94ed4a
@ -1412,6 +1412,7 @@ def transition_day(cli, gameid=0):
|
|||||||
if var.HVISITED.get(victim):
|
if var.HVISITED.get(victim):
|
||||||
message.append("The wolves' selected victim was a harlot, "+
|
message.append("The wolves' selected victim was a harlot, "+
|
||||||
"who was not at home last night.")
|
"who was not at home last night.")
|
||||||
|
victim = ""
|
||||||
if victim and (victim not in var.ROLES["harlot"] or # not a harlot
|
if victim and (victim not in var.ROLES["harlot"] or # not a harlot
|
||||||
not var.HVISITED.get(victim)): # harlot stayed home
|
not var.HVISITED.get(victim)): # harlot stayed home
|
||||||
message.append(("The dead body of \u0002{0}\u0002, a "+
|
message.append(("The dead body of \u0002{0}\u0002, a "+
|
||||||
|
Loading…
x
Reference in New Issue
Block a user