Don't fire desperation totem if the person with the totem lynches themselves last. Closes #54
This commit is contained in:
parent
9f5b30aa95
commit
f185556680
@ -810,8 +810,9 @@ def chk_decision(cli):
|
||||
# roles that eliminate other players upon being lynched
|
||||
# note that lovers, assassin, clone, and vengeful ghost are handled in del_player() since they trigger on more than just lynch
|
||||
elif votee in var.DESPERATE:
|
||||
# Also kill the very last person to vote them
|
||||
# Also kill the very last person to vote them, unless they voted themselves last in which case nobody else dies
|
||||
target = voters[-1]
|
||||
if target != votee:
|
||||
if var.ROLE_REVEAL:
|
||||
r1 = var.get_reveal_role(target)
|
||||
an1 = "n" if r1[0] in ("a", "e", "i", "o", "u") else ""
|
||||
|
Loading…
x
Reference in New Issue
Block a user