Merge branch 'master' of github.com:nyuszika7h/seerwolf

This commit is contained in:
nyuszika7h 2013-11-10 21:53:11 +01:00
commit 8685f6aa1f

View File

@ -1391,9 +1391,15 @@ def transition_day(cli, gameid=0):
"tragedy.").format(victim, var.get_role(victim)))
dead.append(victim)
var.LOGGER.logBare(victim, "KILLED")
if random.random() < 0.01:
# this is pointless.
message.append("https://i.imgur.com/nO8rZ.gif")
if random.random() < 1/50:
message.append(random.choice(
["https://i.imgur.com/nO8rZ.gif",
"https://i.imgur.com/uGVfZ.gif",
"https://i.imgur.com/mUcM09n.gif",
"https://i.imgur.com/P7TEGyQ.gif",
"https://i.imgur.com/b8HAvjL.gif"]
))
if victim in var.GUNNERS.keys() and var.GUNNERS[victim]: # victim had bullets!
if random.random() < var.GUNNER_KILLS_WOLF_AT_NIGHT_CHANCE:
wc = var.ROLES["werecrow"][:]