fix some bug
This commit is contained in:
parent
5210638275
commit
38d5048496
@ -561,6 +561,7 @@ class Game:
|
||||
self.is_handling_death = False
|
||||
self.waiting_for = 0
|
||||
self.incremental_turn = 0
|
||||
self.turn = 0
|
||||
self.pending_winners = []
|
||||
for p in self.players:
|
||||
p.reset()
|
||||
|
@ -353,7 +353,8 @@ class Player:
|
||||
self.available_cards = [{
|
||||
'name': p.name,
|
||||
'icon': '⭐️' if isinstance(p.role, r.Sheriff) else '🤠',
|
||||
'alt_text': ''.join(['❤️']*p.lives)+''.join(['💀']*(p.max_lives-p.lives))
|
||||
'alt_text': ''.join(['❤️']*p.lives)+''.join(['💀']*(p.max_lives-p.lives)),
|
||||
'noDesc': True
|
||||
} for p in self.game.get_alive_players() if p != self and p.lives < p.max_lives]
|
||||
self.available_cards.append({'icon': '❌', 'noDesc': True})
|
||||
self.choose_text = 'choose_fratelli_di_sangue'
|
||||
|
@ -413,7 +413,7 @@
|
||||
"desc": "Instead of drawing he can steal a card from the equipment of another player. (click on the enemy player if you want to use the ability)"
|
||||
},
|
||||
"José Delgado": {
|
||||
"name": "José Delgrado",
|
||||
"name": "José Delgado",
|
||||
"desc": "On his turn he can discard a blue card to draw 2 cards, up to twice per turn."
|
||||
},
|
||||
"Doc Holyday": {
|
||||
|
@ -413,7 +413,7 @@
|
||||
"desc": "Invece di pescare può prendere una carta dall'equipaggiamento di un altro giocatore. (clicca sul giocatore avversario se vuoi usare l'abilità)"
|
||||
},
|
||||
"José Delgado": {
|
||||
"name": "José Delgrado",
|
||||
"name": "José Delgado",
|
||||
"desc": "Nel suo turno può scartare una carta blu per pescare 2 carte, fino a due volte per turno."
|
||||
},
|
||||
"Doc Holyday": {
|
||||
|
Loading…
Reference in New Issue
Block a user