lykoss/lykos — pull request #80 by jacob1 (2014-11-28 02:00:38+00:00)
Title: Rolesets are picked randomly + 4 new rolesets

When the game is started, it makes a list of all possible rolesets for that number of players and picks one randomly. Players can use the !game command to vote for one roleset before the game starts, which makes it a lot more likely to appear. Also if more than 2/5 of the players (about half) vote for a roleset it will be guaranteed to be picked (assuming there are enough players).

There are also 4 new rolesets: foolish, mad, drunkfire, and lycan. They all could use some balancing, drunkfire is popular because everyone loves shooting quickly, but maybe it isn't the best for actual games in ##werewolf.

Also, it fixes up !gstats to log stats per roleset, since if not the stats wouldn't mean much. The current database needs to be either moved or migrated or else it will error.

Feedback appreciated :), don't merge it yet, it could maybe use some more testing. Also once woffle adds randomized rolesets, these new rolesets will need changes to support that.