mirror of
https://github.com/RYGhub/royal-mifia.git
synced 2024-11-22 13:54:19 +00:00
ops
This commit is contained in:
parent
e55590b5d4
commit
6fddcf6f89
1 changed files with 2 additions and 2 deletions
4
main.py
4
main.py
|
@ -188,7 +188,7 @@ class Game:
|
|||
selected.role = Investigatore()
|
||||
investigatore -= 1
|
||||
# Seleziona angelo
|
||||
while investigatore > 0:
|
||||
while angelo > 0:
|
||||
try:
|
||||
selected = playersleft.pop()
|
||||
except IndexError:
|
||||
|
@ -255,7 +255,7 @@ class Game:
|
|||
for player in self.players:
|
||||
if player.alive and isinstance(player.role, Mifioso):
|
||||
mifiosi += 1
|
||||
elif player.alive and (isinstance(player.role, Royal) or isinstance(player.role, Investigatore)):
|
||||
elif player.alive and player.role.team == 'Good':
|
||||
royal += 1
|
||||
if mifiosi >= royal:
|
||||
self.message(bot, "I Mifiosi rimasti sono più dei Royal.\n"
|
||||
|
|
Loading…
Reference in a new issue