wolves can kill the traitor now

This commit is contained in:
Jimmy Cao 2011-07-29 23:43:40 -05:00
parent e849fc70a7
commit e2afd41a69

View File

@ -1265,7 +1265,7 @@ def kill(cli, nick, rest):
if victim == nick.lower(): if victim == nick.lower():
cli.msg(nick, "Suicide is bad. Don't do it.") cli.msg(nick, "Suicide is bad. Don't do it.")
return return
if victim in var.ROLES["wolf"]+var.ROLES["traitor"]+var.ROLES["werecrow"]: if victim in var.ROLES["wolf"]+var.ROLES["werecrow"]:
cli.msg(nick, "You may only kill villagers, not other wolves") cli.msg(nick, "You may only kill villagers, not other wolves")
return return
var.KILLS[nick] = pl[pll.index(victim)] var.KILLS[nick] = pl[pll.index(victim)]