fix for everyone calamity janet?
This commit is contained in:
parent
9313419bf5
commit
bba253f7ef
@ -155,11 +155,6 @@ class Player:
|
|||||||
}]
|
}]
|
||||||
self.is_drawing = True
|
self.is_drawing = True
|
||||||
self.pending_action = PendingAction.CHOOSE
|
self.pending_action = PendingAction.CHOOSE
|
||||||
if isinstance(self.character, chars.CalamityJanet):
|
|
||||||
if cs.Mancato(0, 0).name not in self.expected_response:
|
|
||||||
self.expected_response.append(cs.Mancato(0, 0).name)
|
|
||||||
elif cs.Bang(0, 0).name not in self.expected_response:
|
|
||||||
self.expected_response.append(cs.Bang(0, 0).name)
|
|
||||||
elif isinstance(self.character, chars.SuzyLafayette) and len(self.hand) == 0:
|
elif isinstance(self.character, chars.SuzyLafayette) and len(self.hand) == 0:
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
ser = self.__dict__.copy()
|
ser = self.__dict__.copy()
|
||||||
@ -569,7 +564,9 @@ class Player:
|
|||||||
else:
|
else:
|
||||||
self.pending_action = PendingAction.RESPOND
|
self.pending_action = PendingAction.RESPOND
|
||||||
self.expected_response = self.game.deck.mancato_cards
|
self.expected_response = self.game.deck.mancato_cards
|
||||||
if isinstance(self.character, chd.ElenaFuente):
|
if isinstance(self.character, chars.CalamityJanet) and cs.Bang(0, 0).name not in self.expected_response:
|
||||||
|
self.expected_response.append(cs.Bang(0, 0).name)
|
||||||
|
elif isinstance(self.character, chd.ElenaFuente):
|
||||||
self.expected_response = self.game.deck.all_cards_str
|
self.expected_response = self.game.deck.all_cards_str
|
||||||
self.on_failed_response_cb = self.take_damage_response
|
self.on_failed_response_cb = self.take_damage_response
|
||||||
self.notify_self()
|
self.notify_self()
|
||||||
@ -597,7 +594,9 @@ class Player:
|
|||||||
self.expected_response = self.game.deck.mancato_cards
|
self.expected_response = self.game.deck.mancato_cards
|
||||||
if self.attacker and self.attacker in self.game.players and isinstance(self.attacker.character, chd.BelleStar) or self.game.check_event(ce.Lazo):
|
if self.attacker and self.attacker in self.game.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
|
self.expected_response = self.game.deck.mancato_cards_not_green
|
||||||
if isinstance(self.character, chd.ElenaFuente):
|
elif isinstance(self.character, chars.CalamityJanet) and cs.Bang(0, 0).name not in self.expected_response:
|
||||||
|
self.expected_response.append(cs.Bang(0, 0).name)
|
||||||
|
elif isinstance(self.character, chd.ElenaFuente):
|
||||||
self.expected_response = self.game.deck.all_cards_str
|
self.expected_response = self.game.deck.all_cards_str
|
||||||
self.on_failed_response_cb = self.take_damage_response
|
self.on_failed_response_cb = self.take_damage_response
|
||||||
return True
|
return True
|
||||||
@ -612,6 +611,8 @@ class Player:
|
|||||||
print('has bang')
|
print('has bang')
|
||||||
self.pending_action = PendingAction.RESPOND
|
self.pending_action = PendingAction.RESPOND
|
||||||
self.expected_response = [cs.Bang(0, 0).name]
|
self.expected_response = [cs.Bang(0, 0).name]
|
||||||
|
if isinstance(self.character, chars.CalamityJanet) and cs.Mancato(0, 0).name not in self.expected_response:
|
||||||
|
self.expected_response.append(cs.Mancato(0, 0).name)
|
||||||
self.event_type = 'indians'
|
self.event_type = 'indians'
|
||||||
self.on_failed_response_cb = self.take_damage_response
|
self.on_failed_response_cb = self.take_damage_response
|
||||||
return True
|
return True
|
||||||
@ -626,6 +627,8 @@ class Player:
|
|||||||
else:
|
else:
|
||||||
self.pending_action = PendingAction.RESPOND
|
self.pending_action = PendingAction.RESPOND
|
||||||
self.expected_response = [cs.Bang(0, 0).name]
|
self.expected_response = [cs.Bang(0, 0).name]
|
||||||
|
if isinstance(self.character, chars.CalamityJanet) and cs.Mancato(0, 0).name not in self.expected_response:
|
||||||
|
self.expected_response.append(cs.Mancato(0, 0).name)
|
||||||
self.event_type = 'duel'
|
self.event_type = 'duel'
|
||||||
self.on_failed_response_cb = self.take_damage_response
|
self.on_failed_response_cb = self.take_damage_response
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user