Skip to content

Commit fa870d7

Browse files
authored
sleepy updates
- dullahan no longer automatically targets priest (although they may still randomly do so) - priest is no longer automatically blessed at any player count
1 parent ab3abfa commit fa870d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/gamemodes/sleepy.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def __init__(self, arg=""):
2222
self.ROLE_GUIDE = {
2323
8: ["werecrow", "traitor", "mystic", "seer", "priest", "dullahan", "cursed villager"],
2424
9: ["amnesiac"],
25-
10: ["-traitor", "wolf", "blessed villager", "cursed villager(2)"],
25+
10: ["-traitor", "wolf", "cursed villager(2)"],
2626
11: ["village drunk"],
2727
12: ["wolf(2)"],
2828
13: ["vengeful ghost"],
@@ -40,7 +40,6 @@ def __init__(self, arg=""):
4040

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

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

0 commit comments

Comments
 (0)