Prevent visited harlot from being killed
At 12 players, there are two harlots, and they can visit each other. This is intended to make both of them invincible, but the actual behavior was that the one visiting the victim would die.
This commit is contained in:
parent
e13cd35114
commit
f49e7371b8
@ -1403,7 +1403,7 @@ def transition_day(cli, gameid=0):
|
|||||||
dead.append(deadwolf)
|
dead.append(deadwolf)
|
||||||
if victim in var.HVISITED.values(): # victim was visited by some harlot
|
if victim in var.HVISITED.values(): # victim was visited by some harlot
|
||||||
for hlt in var.HVISITED.keys():
|
for hlt in var.HVISITED.keys():
|
||||||
if var.HVISITED[hlt] == victim:
|
if var.HVISITED[hlt] == victim and victim in dead:
|
||||||
message.append(("\02{0}\02, a \02harlot\02, made the unfortunate mistake of "+
|
message.append(("\02{0}\02, a \02harlot\02, made the unfortunate mistake of "+
|
||||||
"visiting the victim's house last night and is "+
|
"visiting the victim's house last night and is "+
|
||||||
"now dead.").format(hlt))
|
"now dead.").format(hlt))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user