SimeonPicos
This commit is contained in:
parent
15bb99996c
commit
5fe7de3be7
@ -12,6 +12,7 @@ import bang.roles as roles
|
|||||||
import bang.expansions.fistful_of_cards.card_events as ce
|
import bang.expansions.fistful_of_cards.card_events as ce
|
||||||
import bang.expansions.high_noon.card_events as ceh
|
import bang.expansions.high_noon.card_events as ceh
|
||||||
import bang.expansions.gold_rush.shop_cards as grc
|
import bang.expansions.gold_rush.shop_cards as grc
|
||||||
|
import bang.expansions.gold_rush.characters as grch
|
||||||
|
|
||||||
class Game:
|
class Game:
|
||||||
def __init__(self, name, sio:socketio):
|
def __init__(self, name, sio:socketio):
|
||||||
@ -305,6 +306,8 @@ class Game:
|
|||||||
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.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):
|
||||||
|
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.equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
target_pl.hand.append(self.deck.draw())
|
target_pl.hand.append(self.deck.draw())
|
||||||
target_pl.notify_self()
|
target_pl.notify_self()
|
||||||
|
@ -329,6 +329,8 @@ class Player:
|
|||||||
self.lives -= 1
|
self.lives -= 1
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
||||||
self.gold_nuggets += 1
|
self.gold_nuggets += 1
|
||||||
|
if self.character.check(self.game, grch.SimeonPicos):
|
||||||
|
self.gold_nuggets += 1
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
if self.character.check(self.game, chars.BartCassidy) and self.lives > 0:
|
if self.character.check(self.game, chars.BartCassidy) and self.lives > 0:
|
||||||
@ -488,6 +490,8 @@ class Player:
|
|||||||
self.lives -= 3
|
self.lives -= 3
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
||||||
self.gold_nuggets += 3
|
self.gold_nuggets += 3
|
||||||
|
if self.character.check(self.game, grch.SimeonPicos):
|
||||||
|
self.gold_nuggets += 3
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
@ -668,6 +672,8 @@ class Player:
|
|||||||
self.lives -= 1
|
self.lives -= 1
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
||||||
self.gold_nuggets += 1
|
self.gold_nuggets += 1
|
||||||
|
if self.character.check(self.game, grch.SimeonPicos):
|
||||||
|
self.gold_nuggets += 1
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
player.notify_self()
|
player.notify_self()
|
||||||
@ -951,6 +957,8 @@ class Player:
|
|||||||
self.attacker.notify_self()
|
self.attacker.notify_self()
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Talismano)]) > 0:
|
||||||
self.gold_nuggets += 1
|
self.gold_nuggets += 1
|
||||||
|
if self.character.check(self.game, grch.SimeonPicos):
|
||||||
|
self.gold_nuggets += 1
|
||||||
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
if len([c for c in self.gold_rush_equipment if isinstance(c, grc.Stivali)]) > 0:
|
||||||
self.hand.append(self.game.deck.draw())
|
self.hand.append(self.game.deck.draw())
|
||||||
self.heal_if_needed()
|
self.heal_if_needed()
|
||||||
|
Loading…
Reference in New Issue
Block a user