don't recover from large damage

This commit is contained in:
Alberto Xamin 2021-06-25 15:52:53 +02:00
parent 49bb5ee4e5
commit ec3b7bd356
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -174,7 +174,7 @@ class Player:
self.hand.append(self.game.deck.draw(True)) self.hand.append(self.game.deck.draw(True))
if self.lives <= 0 and self.max_lives > 0 and not self.is_dead: if self.lives <= 0 and self.max_lives > 0 and not self.is_dead:
print('dying, attacker', self.attacker) print('dying, attacker', self.attacker)
if self.character.check(self.game, chars.SidKetchum) and len(self.hand) > 1: if self.character.check(self.game, chars.SidKetchum) and len(self.hand) > 1 and self.lives == 0:
if self.game.players[self.game.turn] != self: if self.game.players[self.game.turn] != self:
self.game.players[self.game.turn].pending_action = PendingAction.WAIT self.game.players[self.game.turn].pending_action = PendingAction.WAIT
self.game.players[self.game.turn].notify_self() self.game.players[self.game.turn].notify_self()