Prevent seer from seeing themselves

This commit is contained in:
nyuszika7h 2013-10-01 22:09:35 +02:00
parent bf504d6645
commit dcb7016b2f

View File

@ -1991,8 +1991,11 @@ def see(cli, nick, rest):
else:
if matches != 1:
pm(cli, nick,"\u0002{0}\u0002 is currently not playing.".format(victim))
return
returnj
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":
role = "wolf"
elif var.get_role(victim) == "traitor":