fix gold rush equipment on roulette
This commit is contained in:
parent
2cda50e825
commit
2e0bfc240c
@ -399,11 +399,11 @@ class Game:
|
|||||||
target_pl = pls[(pls.index(self.players[self.turn]) + self.player_bangs) % len(pls)]
|
target_pl = pls[(pls.index(self.players[self.turn]) + self.player_bangs) % len(pls)]
|
||||||
print(f'{self.name}: stop roulette')
|
print(f'{self.name}: stop roulette')
|
||||||
target_pl.lives -= 1
|
target_pl.lives -= 1
|
||||||
if len([c for c in target_pl.equipment if isinstance(c, grc.Talismano)]) > 0:
|
if len([c for c in target_pl.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
||||||
target_pl.gold_nuggets += 1
|
target_pl.gold_nuggets += 1
|
||||||
if target_pl.character.check(self, grch.SimeonPicos):
|
if target_pl.character.check(self, grch.SimeonPicos):
|
||||||
target_pl.gold_nuggets += 1
|
target_pl.gold_nuggets += 1
|
||||||
if len([c for c in target_pl.equipment if isinstance(c, grc.Stivali)]) > 0:
|
if len([c for c in target_pl.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
target_pl.hand.append(self.deck.draw(True))
|
target_pl.hand.append(self.deck.draw(True))
|
||||||
target_pl.notify_self()
|
target_pl.notify_self()
|
||||||
self.is_russian_roulette_on = False
|
self.is_russian_roulette_on = False
|
||||||
|
Loading…
Reference in New Issue
Block a user