molly stark
This commit is contained in:
parent
fd3334b012
commit
795dcf82a7
@ -37,6 +37,12 @@ class BillNoface(Character):
|
|||||||
self.desc = "Pesca 1 carta + 1 carta per ogni ferita che ha"
|
self.desc = "Pesca 1 carta + 1 carta per ogni ferita che ha"
|
||||||
self.icon = '🙈'
|
self.icon = '🙈'
|
||||||
|
|
||||||
|
class MollyStark(Character):
|
||||||
|
def __init__(self):
|
||||||
|
super().__init__("Molly Stark", max_lives=4)
|
||||||
|
self.desc = "Quando usa una carta che ha in mano, fuori dal suo turno, ne ottiene un'altra dal mazzo"
|
||||||
|
self.icon = '🙅♀️'
|
||||||
|
|
||||||
def all_characters() -> List[Character]:
|
def all_characters() -> List[Character]:
|
||||||
return [
|
return [
|
||||||
PixiePete(),
|
PixiePete(),
|
||||||
@ -45,6 +51,7 @@ def all_characters() -> List[Character]:
|
|||||||
HerbHunter(),
|
HerbHunter(),
|
||||||
ElenaFuente(),
|
ElenaFuente(),
|
||||||
BillNoface(),
|
BillNoface(),
|
||||||
|
MollyStark(),
|
||||||
]
|
]
|
||||||
|
|
||||||
#Apache Kid: il suo effetto non conta nei duelli
|
#Apache Kid: il suo effetto non conta nei duelli
|
||||||
|
@ -435,6 +435,8 @@ class Player:
|
|||||||
((hand_index < len(self.hand) and self.hand[hand_index].name in self.expected_response)) or
|
((hand_index < len(self.hand) and self.hand[hand_index].name in self.expected_response)) or
|
||||||
self.equipment[hand_index-len(self.hand)].name in self.expected_response):
|
self.equipment[hand_index-len(self.hand)].name in self.expected_response):
|
||||||
card = self.hand.pop(hand_index) if hand_index < len(self.hand) else self.equipment.pop(hand_index-len(self.hand))
|
card = self.hand.pop(hand_index) if hand_index < len(self.hand) else self.equipment.pop(hand_index-len(self.hand))
|
||||||
|
if isinstance(self.character, chd.MollyStark) and hand_index < len(self.hand):
|
||||||
|
self.hand.append(self.game.deck.draw())
|
||||||
card.use_card(self)
|
card.use_card(self)
|
||||||
self.game.deck.scrap(card)
|
self.game.deck.scrap(card)
|
||||||
self.notify_self()
|
self.notify_self()
|
||||||
|
Loading…
Reference in New Issue
Block a user