This commit is contained in:
Alberto Xamin 2021-06-15 23:06:32 +02:00
parent 860d6ce3ca
commit a139a310fe
No known key found for this signature in database
GPG Key ID: 4F026F48309500A2

View File

@ -438,6 +438,8 @@ class Player:
return self.notify_self() return self.notify_self()
if self.game.check_event(ceh.IlTreno) or (self.is_ghost and self.game.check_event(ceh.CittaFantasma)): if self.game.check_event(ceh.IlTreno) or (self.is_ghost and self.game.check_event(ceh.CittaFantasma)):
self.hand.append(self.game.deck.draw()) self.hand.append(self.game.deck.draw())
if len([c for c in self.equipment if isinstance(c, grc.Piccone)]) > 0:
self.hand.append(self.game.deck.draw())
self.manette() self.manette()
self.notify_self() self.notify_self()
@ -685,7 +687,8 @@ class Player:
self.hand.append(self.available_cards.pop(card_index)) self.hand.append(self.available_cards.pop(card_index))
pickable_stop = 1 pickable_stop = 1
if self.game.check_event(ceh.Sete): pickable_stop = 2 if self.game.check_event(ceh.Sete): pickable_stop = 2
if self.game.check_event(ceh.IlTreno): pickable_stop = 0 if self.game.check_event(ceh.IlTreno) or len([c for c in self.equipment if isinstance(c, grc.Piccone)]) > 0:
pickable_stop = 0
if len(self.available_cards) == pickable_stop: if len(self.available_cards) == pickable_stop:
if len(self.available_cards) > 0: if len(self.available_cards) > 0:
self.game.deck.put_on_top(self.available_cards.pop()) self.game.deck.put_on_top(self.available_cards.pop())