lykoss / lykos

Werewolf, the popular detective/social party game (a theme of Mafia)
https://werewolf.chat
Other
127 stars 62 forks source link

!gstats counts Fool wins and Fool wins separately #509

Closed fndax closed 2 years ago

fndax commented 2 years ago
02:40:33 <+me> !gstats foolish 8
02:40:33 <@lykos> 8 player games (foolish) | Villager wins: 123 (37%), Wolf wins: 135 (41%), Fool wins: 69 (21%), Fool wins: 2 (1%), Total games: 329

I assume the way lykos stores stats in the db for the fool team changed at some point or something, idk.

skizzerz commented 2 years ago

Should be fixed now (no code changes needed, the database just had some old records that needed to get mapped over to the new-ish way of doing things)