From d42fa45d2ff592da7005db8acbc3c7b0646244c5 Mon Sep 17 00:00:00 2001 From: skizzerz Date: Wed, 17 Dec 2014 00:34:38 -0600 Subject: [PATCH] Make alpha wolf more powerful Each time a wolf dies while a bitten person is undergoing transformation, they will now transform one night earlier. This makes it much more likely for the bitten person to actually turn into a wolf before the game is over. For larger game sizes, the turn is pretty much guaranteed due to the number of wolves, which means safes need to tightly coordinate to figure out who was actually bitten due to wolves possibly having full info and an insider. --- modules/wolfgame.py | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/wolfgame.py b/modules/wolfgame.py index 132720b..2c3e7f6 100644 --- a/modules/wolfgame.py +++ b/modules/wolfgame.py @@ -1986,8 +1986,16 @@ def del_player(cli, nick, forced_death = False, devoice = True, end_game = True, "to exact your revenge on the \u0002{0}\u0002 that killed you.").format(var.VENGEFUL_GHOSTS[nick])) if nickrole == "wolf cub": var.ANGRY_WOLVES = True - if nickrole in var.WOLF_ROLES and var.GAMEPHASE == "day": - var.ALPHA_ENABLED = True + if nickrole in var.WOLF_ROLES: + if var.GAMEPHASE == "day": + var.ALPHA_ENABLED = True + for bitten, days in var.BITTEN.items(): + brole = var.get_role(bitten) + if brole not in var.WOLF_ROLES and days > 0: + var.BITTEN[bitten] -= 1 + pm(cli, bitten, ("Upon gazing at {0}'s lifeless body, you feel a sharp pang of regret and vengeance. " + + "You quickly look away and the feelings subside...").format(nick)) + if nickrole == "mad scientist": # kills the 2 players adjacent to them in the original players listing (in order of !joining) # if those players are already dead, nothing happens