Merge pull request #115 from lykoss/no-mysterious-plague

Remove the mysterious plague
This commit is contained in:
nyuszika7h 2015-03-04 09:00:06 +01:00
commit 4c14ef0021
2 changed files with 2 additions and 9 deletions

View File

@ -3162,13 +3162,6 @@ def transition_day(cli, gameid=0):
begin_day(cli)
return
if (not len(var.SEEN)+len(var.KILLS)+len(var.OBSERVED) # neither seer nor wolf acted
and not var.START_WITH_DAY and var.FIRST_NIGHT and (var.ROLES["seer"] or var.ROLES["oracle"] or var.ROLES["augur"]) and not botconfig.DEBUG_MODE):
cli.msg(botconfig.CHANNEL, "\02The wolves all die of a mysterious plague.\02")
for x in var.ROLES["traitor"] + var.list_players(var.WOLF_ROLES):
if not del_player(cli, x, True, death_triggers = False):
return
td = var.DAY_START_TIME - var.NIGHT_START_TIME
var.NIGHT_START_TIME = None
var.NIGHT_TIMEDELTA += td

View File

@ -612,7 +612,7 @@ class DrunkFireMode(object):
"sharpshooter" : ( 2 , 2 , 3 , 3 , 4 ),
})
@game_mode("noreveal", minp = 4, maxp = 21, likelihood = 0)
@game_mode("noreveal", minp = 4, maxp = 21, likelihood = 2)
class NoRevealMode(object):
"""Roles are not revealed when players die."""
def __init__(self):
@ -639,7 +639,7 @@ class NoRevealMode(object):
"cursed villager" : ( 0 , 1 , 1 , 1 , 1 , 1 , 2 , 2 ),
})
@game_mode("lycan", minp = 7, maxp = 21, likelihood = 1)
@game_mode("lycan", minp = 7, maxp = 21, likelihood = 6)
class LycanMode(object):
"""Many lycans will turn into wolves. Hunt them down before the wolves overpower the village."""
def __init__(self):