Merge pull request #115 from lykoss/no-mysterious-plague
Remove the mysterious plague
This commit is contained in:
commit
4c14ef0021
@ -3162,13 +3162,6 @@ def transition_day(cli, gameid=0):
|
|||||||
begin_day(cli)
|
begin_day(cli)
|
||||||
return
|
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
|
td = var.DAY_START_TIME - var.NIGHT_START_TIME
|
||||||
var.NIGHT_START_TIME = None
|
var.NIGHT_START_TIME = None
|
||||||
var.NIGHT_TIMEDELTA += td
|
var.NIGHT_TIMEDELTA += td
|
||||||
|
@ -612,7 +612,7 @@ class DrunkFireMode(object):
|
|||||||
"sharpshooter" : ( 2 , 2 , 3 , 3 , 4 ),
|
"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):
|
class NoRevealMode(object):
|
||||||
"""Roles are not revealed when players die."""
|
"""Roles are not revealed when players die."""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
@ -639,7 +639,7 @@ class NoRevealMode(object):
|
|||||||
"cursed villager" : ( 0 , 1 , 1 , 1 , 1 , 1 , 2 , 2 ),
|
"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):
|
class LycanMode(object):
|
||||||
"""Many lycans will turn into wolves. Hunt them down before the wolves overpower the village."""
|
"""Many lycans will turn into wolves. Hunt them down before the wolves overpower the village."""
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user