fix Dutch Will
This commit is contained in:
parent
f01d31ed2d
commit
4bb0ac2344
@ -818,12 +818,14 @@ class Player:
|
|||||||
self.pending_action = PendingAction.PLAY
|
self.pending_action = PendingAction.PLAY
|
||||||
self.manette()
|
self.manette()
|
||||||
self.notify_self()
|
self.notify_self()
|
||||||
|
# specifico per personaggio
|
||||||
elif self.is_drawing and self.character.check(self.game, grch.DutchWill):
|
elif self.is_drawing and self.character.check(self.game, grch.DutchWill):
|
||||||
self.hand.append(self.available_cards.pop(card_index))
|
self.hand.append(self.available_cards.pop(card_index)) #prendo la carta scelta
|
||||||
if self.game.check_event(ceh.IlTreno) or len([c for c in self.gold_rush_equipment if isinstance(c, grc.Piccone)]) > 0:
|
self.game.deck.scrap(self.available_cards.pop(0), True) #scarto l'altra
|
||||||
self.hand.append(self.available_cards.pop(0))
|
if self.game.check_event(ceh.IlTreno):
|
||||||
else:
|
self.hand.append(self.game.deck.draw())
|
||||||
self.game.deck.scrap(self.available_cards.pop(0), True)
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Piccone)]) > 0:
|
||||||
|
self.hand.append(self.game.deck.draw())
|
||||||
self.gold_nuggets += 1
|
self.gold_nuggets += 1
|
||||||
self.is_drawing = False
|
self.is_drawing = False
|
||||||
self.pending_action = PendingAction.PLAY
|
self.pending_action = PendingAction.PLAY
|
||||||
|
Loading…
Reference in New Issue
Block a user