fix belle star and lazo

This commit is contained in:
Giulio 2021-05-16 01:12:03 +02:00
parent e435159a01
commit 2f31fa2bd5
4 changed files with 7 additions and 7 deletions

View File

@ -9,12 +9,12 @@ class Deck:
super().__init__()
self.cards: List[cs.Card] = cs.get_starting_deck(game.expansions)
self.mancato_cards: List[str] = []
self.mancato_cards_not_green: List[str] = []
self.mancato_cards_not_green_or_blue: List[str] = []
for c in self.cards:
if isinstance(c, cs.Mancato) and c.name not in self.mancato_cards:
self.mancato_cards.append(c.name)
if not c.usable_next_turn:
self.mancato_cards_not_green.append(c.name)
if not (c.usable_next_turn or c.is_equipment):
self.mancato_cards_not_green_or_blue.append(c.name)
self.all_cards_str: List[str] = []
for c in self.cards:
if c.name not in self.all_cards_str:

View File

@ -774,8 +774,8 @@ class Player:
print('has mancato')
self.pending_action = PendingAction.RESPOND
self.expected_response = self.game.deck.mancato_cards.copy()
if self.attacker and self.attacker in self.game.get_alive_players() and isinstance(self.attacker.character, chd.BelleStar) or self.game.check_event(ce.Lazo):
self.expected_response = self.game.deck.mancato_cards_not_green.copy()
if self.attacker and self.attacker in self.game.get_alive_players() and self.character.check(self.game, chd.BelleStar) or self.game.check_event(ce.Lazo):
self.expected_response = self.game.deck.mancato_cards_not_green_or_blue.copy()
elif self.character.check(self.game, chars.CalamityJanet) and cs.Bang(0, 0).name not in self.expected_response:
self.expected_response.append(cs.Bang(0, 0).name)
elif self.character.check(self.game, chd.ElenaFuente):

View File

@ -396,7 +396,7 @@
},
"Belle Star": {
"name": "Belle Star",
"desc": "During her turn the green cards of the other players do not work."
"desc": "During her turn the green and blue cards of the other players do not work."
},
"Vera Custer": {
"name": "Vera Custer",

View File

@ -396,7 +396,7 @@
},
"Belle Star": {
"name": "Belle Star",
"desc": "Nel suo turno le carte verdi degli altri giocatori non hanno effetto."
"desc": "Nel suo turno le carte verdi e blu degli altri giocatori non hanno effetto."
},
"Vera Custer": {
"name": "Vera Custer",