Allow lover to win with piper
This commit is contained in:
parent
d8ee335d58
commit
9ecb95674b
@ -2118,7 +2118,7 @@ def stop_game(cli, winner = "", abort = False):
|
||||
if lvr in plrl:
|
||||
lvrrol = plrl[lvr]
|
||||
|
||||
if not winner.startswith("@") and winner != "monsters":
|
||||
if not winner.startswith("@") and winner not in ("monsters", "pipers"):
|
||||
iwon = True
|
||||
break
|
||||
elif winner.startswith("@") and winner == "@" + lvr and var.LOVER_WINS_WITH_FOOL:
|
||||
@ -2127,6 +2127,9 @@ def stop_game(cli, winner = "", abort = False):
|
||||
elif winner == "monsters" and lvrrol == "monster":
|
||||
iwon = True
|
||||
break
|
||||
elif winner == "pipers" and lvrrol == "piper":
|
||||
iwon = True
|
||||
break
|
||||
elif rol == "fool" and "@" + splr == winner:
|
||||
iwon = True
|
||||
elif rol == "monster" and splr in survived and winner == "monsters":
|
||||
|
Loading…
x
Reference in New Issue
Block a user