Skip to content

Commit

Permalink
Update pactbreaker.py
Browse files Browse the repository at this point in the history
Increase streets chance to contradict evidence to 75% for solo visitors and have it fall off slower as visitor counts increase (63% for 2 visitors, 56% for 3 visitors, 51% for 4 visitors, and 48% for 5 visitors)
  • Loading branch information
skizzerz authored Dec 18, 2024
1 parent d1e0327 commit 5ec5993
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/gamemodes/pactbreaker.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,9 @@ def build_deck(self, var: GameState, location: Location, visitors: set[User]) ->
+ ["empty-handed", "empty-handed"] * num_other)
num_draws = 1
elif location is Streets:
deck = (["empty-handed"] * max(0, num_visitors - 8)
+ ["evidence"] * 8
+ ["hunted", "empty-handed"] * num_wolves
+ ["evidence", "empty-handed"] * num_other)
deck = (["evidence"] * 9
+ ["hunted", "evidence", "empty-handed"] * num_wolves
+ ["evidence", "evidence", "empty-handed"] * num_other)
num_draws = 3
else:
raise RuntimeError(f"No deck defined for location {location.name}")
Expand Down

0 comments on commit 5ec5993

Please sign in to comment.