Merge pull request #9 from xnrand/master

Picture announcing improvements
This commit is contained in:
nyuszika7h 2013-11-10 11:12:50 -08:00
commit e096e684b5

View File

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