GA dies when guarding, victims name not revealed
This commit is contained in:
parent
6bca57b9b3
commit
c1a256c162
@ -1451,8 +1451,12 @@ def transition_day(cli, gameid=0):
|
|||||||
pm(cli, crow, ("As the sun rises, you conclude that \u0002{0}\u0002 was sleeping "+
|
pm(cli, crow, ("As the sun rises, you conclude that \u0002{0}\u0002 was sleeping "+
|
||||||
"all night long, and you fly back to your house.").format(target))
|
"all night long, and you fly back to your house.").format(target))
|
||||||
if victim in var.GUARDED.values():
|
if victim in var.GUARDED.values():
|
||||||
message.append(("\u0002{0}\u0002 was attacked by the wolves last night, but luckily, the "+
|
for gangel in var.ROLES["guardian angel"]:
|
||||||
"guardian angel was on duty.").format(victim))
|
if var.GUARDED.get(gangel) == victim:
|
||||||
|
dead.append(gangel)
|
||||||
|
message.append(("\u0002{0}\u0002 sacrificed their life to the wolves to "+
|
||||||
|
"guard that of another").format(gangel))
|
||||||
|
break
|
||||||
victim = ""
|
victim = ""
|
||||||
elif not victim:
|
elif not victim:
|
||||||
message.append(random.choice(var.NO_VICTIMS_MESSAGES) +
|
message.append(random.choice(var.NO_VICTIMS_MESSAGES) +
|
||||||
|
Loading…
Reference in New Issue
Block a user