fix Cecchino
This commit is contained in:
parent
572ce3bc4c
commit
40e4d1df83
@ -590,6 +590,7 @@ class Game:
|
||||
'is_ghost': pls[j].is_ghost,
|
||||
'is_bot': pls[j].is_bot,
|
||||
'icon': pls[j].role.icon if (pls[j].role is not None) else '🤠',
|
||||
'role': pls[j].role,
|
||||
} for j in range(len(pls)) if i != j]
|
||||
|
||||
def get_alive_players(self):
|
||||
|
@ -358,8 +358,9 @@ class Player:
|
||||
self.is_using_checchino = True
|
||||
self.available_cards = [{
|
||||
'name': p['name'],
|
||||
'icon': p.role.icon if(self.game.initial_players == 3) else '⭐️' if p['is_sheriff'] else '🤠',
|
||||
'alt_text': ''.join(['❤️']*p['lives'])+''.join(['💀']*(p['max_lives']-p['lives']))
|
||||
'icon': p['role'].icon if(self.game.initial_players == 3) else '⭐️' if p['is_sheriff'] else '🤠',
|
||||
'alt_text': ''.join(['❤️']*p['lives'])+''.join(['💀']*(p['max_lives']-p['lives'])),
|
||||
'desc': p['name']
|
||||
} for p in self.game.get_visible_players(self) if p['dist'] <= self.get_sight()]
|
||||
self.available_cards.append({'icon': '❌', 'noDesc': True})
|
||||
self.choose_text = 'choose_cecchino'
|
||||
|
Loading…
Reference in New Issue
Block a user