+4 on +4, skip turn
This commit is contained in:
@ -102,11 +102,11 @@ class Player(object):
|
||||
self.logger.debug("Card's color or value doesn't match")
|
||||
is_playable = False
|
||||
if last.value == c.DRAW_TWO and not \
|
||||
(card.value == c.DRAW_TWO or
|
||||
not self.game.draw_counter):
|
||||
card.value == c.DRAW_TWO and self.game.draw_counter:
|
||||
self.logger.debug("Player has to draw and can't counter")
|
||||
is_playable = False
|
||||
if last.special == c.DRAW_FOUR and self.game.draw_counter:
|
||||
if last.special == c.DRAW_FOUR and not \
|
||||
card.special == c.DRAW_FOUR and self.game.draw_counter:
|
||||
self.logger.debug("Player has to draw and can't counter")
|
||||
is_playable = False
|
||||
if not last.color or card in playable:
|
||||
|
Reference in New Issue
Block a user