Prevent seer from seeing themselves
This commit is contained in:
parent
bf504d6645
commit
dcb7016b2f
@ -1991,8 +1991,11 @@ def see(cli, nick, rest):
|
|||||||
else:
|
else:
|
||||||
if matches != 1:
|
if matches != 1:
|
||||||
pm(cli, nick,"\u0002{0}\u0002 is currently not playing.".format(victim))
|
pm(cli, nick,"\u0002{0}\u0002 is currently not playing.".format(victim))
|
||||||
return
|
returnj
|
||||||
victim = pl[pll.index(target)]
|
victim = pl[pll.index(target)]
|
||||||
|
if victim == nick:
|
||||||
|
pm(cli, nick, "Seeing yourself would be a waste.")
|
||||||
|
return
|
||||||
if victim in var.CURSED or var.get_role(victim) == "werecrow":
|
if victim in var.CURSED or var.get_role(victim) == "werecrow":
|
||||||
role = "wolf"
|
role = "wolf"
|
||||||
elif var.get_role(victim) == "traitor":
|
elif var.get_role(victim) == "traitor":
|
||||||
|
Loading…
Reference in New Issue
Block a user