don't recover from large damage
This commit is contained in:
parent
49bb5ee4e5
commit
ec3b7bd356
@ -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()
|
||||||
|
Loading…
Reference in New Issue
Block a user