now the gunner still dies if he shot the wolf

This commit is contained in:
Jimmy Cao 2011-07-27 20:29:49 -05:00
parent e597e3bb7d
commit 638b93e3b3

View File

@ -974,8 +974,8 @@ def transition_day(cli, gameid=0):
message.append(("The wolves made the fortunate mistake of attacking "+ message.append(("The wolves made the fortunate mistake of attacking "+
"a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+ "a gunner last night, and \u0002{0}\u0002, a \u0002wolf\u0002,"+
" was shot dead.").format(deadwolf)) " was shot dead.").format(deadwolf))
dead.append(deadwolf) if not del_player(cli, deadwolf):
var.VICTIM = "" return
if var.VICTIM and (var.VICTIM not in var.ROLES["harlot"] or # not a harlot if var.VICTIM and (var.VICTIM not in var.ROLES["harlot"] or # not a harlot
not var.HVISITED.get(var.VICTIM)): # harlot stayed home not var.HVISITED.get(var.VICTIM)): # harlot stayed home
message.append(("The dead body of \u0002{0}\u0002, a "+ message.append(("The dead body of \u0002{0}\u0002, a "+