Skip to content

Commit

Permalink
sleepy updates
Browse files Browse the repository at this point in the history
- dullahan no longer automatically targets priest (although they may still randomly do so)
- priest is no longer automatically blessed at any player count
  • Loading branch information
skizzerz authored Feb 5, 2025
1 parent ab3abfa commit fa870d7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/gamemodes/sleepy.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def __init__(self, arg=""):
self.ROLE_GUIDE = {
8: ["werecrow", "traitor", "mystic", "seer", "priest", "dullahan", "cursed villager"],
9: ["amnesiac"],
10: ["-traitor", "wolf", "blessed villager", "cursed villager(2)"],
10: ["-traitor", "wolf", "cursed villager(2)"],
11: ["village drunk"],
12: ["wolf(2)"],
13: ["vengeful ghost"],
Expand All @@ -40,7 +40,6 @@ def __init__(self, arg=""):

self.TURN_CHANCE = config.Main.get("gameplay.modes.sleepy.turn")
# Force secondary roles
self.SECONDARY_ROLES["blessed villager"] = {"priest"}
self.SECONDARY_ROLES["gunner"] = {"village drunk"}
self.SECONDARY_ROLES["hunter"] = {"monster"}
self.EVENTS = {
Expand Down Expand Up @@ -89,7 +88,6 @@ def teardown(self):
self.nightmare_acted.clear()

def dullahan_targets(self, evt: Event, var: GameState, dullahan, max_targets):
evt.data["targets"].update(get_players(var, ("priest",)))
evt.data["exclude"].update(get_players(var, Wolf))
# dulla needs 1 fewer target to win than normal
evt.data["num_targets"] = max_targets - 1
Expand Down

0 comments on commit fa870d7

Please sign in to comment.