Disable wild child in random

role is buggy, needs further testing
This commit is contained in:
jacob1 2016-08-21 15:09:14 -04:00 committed by GitHub
parent 5e2e905c35
commit b089a6eee8

View File

@ -581,7 +581,7 @@ class RandomMode(GameMode):
wolves = var.WOLF_ROLES - {"wolf cub"}
addroles[random.choice(list(wolves))] += 1 # make sure there's at least one wolf role
roles = list(var.ROLE_GUIDE.keys() - var.TEMPLATE_RESTRICTIONS.keys() - {"villager", "cultist", "amnesiac"})
roles = list(var.ROLE_GUIDE.keys() - var.TEMPLATE_RESTRICTIONS.keys() - {"villager", "cultist", "amnesiac", "wild child"})
while lpl:
addroles[random.choice(roles)] += 1
lpl -= 1