fix belle star and lazo
This commit is contained in:
parent
e435159a01
commit
2f31fa2bd5
@ -9,12 +9,12 @@ class Deck:
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
self.cards: List[cs.Card] = cs.get_starting_deck(game.expansions)
|
self.cards: List[cs.Card] = cs.get_starting_deck(game.expansions)
|
||||||
self.mancato_cards: List[str] = []
|
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:
|
for c in self.cards:
|
||||||
if isinstance(c, cs.Mancato) and c.name not in self.mancato_cards:
|
if isinstance(c, cs.Mancato) and c.name not in self.mancato_cards:
|
||||||
self.mancato_cards.append(c.name)
|
self.mancato_cards.append(c.name)
|
||||||
if not c.usable_next_turn:
|
if not (c.usable_next_turn or c.is_equipment):
|
||||||
self.mancato_cards_not_green.append(c.name)
|
self.mancato_cards_not_green_or_blue.append(c.name)
|
||||||
self.all_cards_str: List[str] = []
|
self.all_cards_str: List[str] = []
|
||||||
for c in self.cards:
|
for c in self.cards:
|
||||||
if c.name not in self.all_cards_str:
|
if c.name not in self.all_cards_str:
|
||||||
|
@ -774,8 +774,8 @@ class Player:
|
|||||||
print('has mancato')
|
print('has mancato')
|
||||||
self.pending_action = PendingAction.RESPOND
|
self.pending_action = PendingAction.RESPOND
|
||||||
self.expected_response = self.game.deck.mancato_cards.copy()
|
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):
|
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.copy()
|
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:
|
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)
|
self.expected_response.append(cs.Bang(0, 0).name)
|
||||||
elif self.character.check(self.game, chd.ElenaFuente):
|
elif self.character.check(self.game, chd.ElenaFuente):
|
||||||
|
@ -396,7 +396,7 @@
|
|||||||
},
|
},
|
||||||
"Belle Star": {
|
"Belle Star": {
|
||||||
"name": "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": {
|
"Vera Custer": {
|
||||||
"name": "Vera Custer",
|
"name": "Vera Custer",
|
||||||
|
@ -396,7 +396,7 @@
|
|||||||
},
|
},
|
||||||
"Belle Star": {
|
"Belle Star": {
|
||||||
"name": "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": {
|
"Vera Custer": {
|
||||||
"name": "Vera Custer",
|
"name": "Vera Custer",
|
||||||
|
Loading…
Reference in New Issue
Block a user