one more conditions for rissa

This commit is contained in:
Alberto Xamin 2020-11-27 18:09:48 +01:00
parent 6c9dc746fd
commit e48fd93bb8
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -282,7 +282,7 @@ class Player:
self.hand.append(card)
else:
self.game.deck.scrap(card)
if self.event_type != 'rissa' or self.target_p == [p.name for p in self.game.players if p != self][-1]:
if self.event_type != 'rissa' or (self.event_type == 'rissa' and self.target_p == [p.name for p in self.game.players if p != self][-1]):
self.event_type = ''
self.target_p = ''
self.choose_action = ''