Skip to content

Commit

Permalink
Make staying home a bit less powerful
Browse files Browse the repository at this point in the history
  • Loading branch information
skizzerz committed Oct 2, 2024
1 parent f5d872d commit 0313b53
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/gamemodes/pactbreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,15 @@ def on_night_kills(self, evt: Event, var: GameState):

deck = ["empty-handed",
"empty-handed",
"empty-handed" if owner_role != "villager" or is_home else "evidence"]
if total_draws > 3:
for i in range(0, total_draws - 3, 2):
"empty-handed" if owner_role != "villager" else "evidence"]
if is_home:
deck.append("empty-handed")
ds = len(deck)
if total_draws > ds:
for i in range(0, total_draws - ds, 2):
deck.append("evidence")
deck.append("empty-handed")
if is_home:
deck.append("empty-handed")

random.shuffle(deck)
i = 0
for visitor in visitors:
Expand Down

0 comments on commit 0313b53

Please sign in to comment.