fix rimbalzo
This commit is contained in:
parent
f15102ad10
commit
2beb1563ae
@ -82,8 +82,8 @@ class Ranch(CardEvent):
|
|||||||
class Rimbalzo(CardEvent):
|
class Rimbalzo(CardEvent):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__("Rimbalzo", "⏮")
|
super().__init__("Rimbalzo", "⏮")
|
||||||
self.desc = "Il giocatore di turno può giocare bang contro le carte equipaggiate dagli altri giocatori, se non giocano mancato vengono scartate"
|
self.desc = "Il giocatore di turno può giocare bang contro le carte equipaggiate dagli altri giocatori, se non giocano mancato vengono scartate (clicca la carta evento)"
|
||||||
self.desc_eng = "The player can play bang against the cards equipped by the other players, if they do not play miss they are discarded"
|
self.desc_eng = "The player can play bang against the cards equipped by the other players, if they do not play miss they are discarded (click the event card)"
|
||||||
|
|
||||||
class RouletteRussa(CardEvent):
|
class RouletteRussa(CardEvent):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -692,7 +692,9 @@ class Player:
|
|||||||
self.attacker = attacker
|
self.attacker = attacker
|
||||||
self.mancato_needed = 1 if not double else 2
|
self.mancato_needed = 1 if not double else 2
|
||||||
if card_index != None:
|
if card_index != None:
|
||||||
self.dmg_card_index = None
|
self.dmg_card_index = card_index
|
||||||
|
else:
|
||||||
|
self.dmg_card_index = -1
|
||||||
for i in range(len(self.equipment)):
|
for i in range(len(self.equipment)):
|
||||||
if self.equipment[i].can_be_used_now:
|
if self.equipment[i].can_be_used_now:
|
||||||
print('usable', self.equipment[i])
|
print('usable', self.equipment[i])
|
||||||
|
Loading…
Reference in New Issue
Block a user