Make traitor an invalid target for !kill. Closes #14
This commit is contained in:
parent
a7a71650c9
commit
77e09e1f03
@ -1743,7 +1743,7 @@ def kill(cli, nick, rest):
|
||||
if victim == nick:
|
||||
pm(cli, nick, "Suicide is bad. Don't do it.")
|
||||
return
|
||||
if victim in var.ROLES["wolf"]+var.ROLES["werecrow"]:
|
||||
if victim in var.ROLES["wolf"]+var.ROLES["werecrow"]+var.ROLES["traitor"]:
|
||||
pm(cli, nick, "You may only kill villagers, not other wolves.")
|
||||
return
|
||||
var.KILLS[nick] = victim
|
||||
|
Loading…
x
Reference in New Issue
Block a user