add tucoFranziskaner Logic
This commit is contained in:
parent
3a6bbb2427
commit
bc143190c3
@ -58,7 +58,7 @@ def all_characters() -> List[Character]:
|
|||||||
# HenryBlock(),
|
# HenryBlock(),
|
||||||
# LemonadeJim(),
|
# LemonadeJim(),
|
||||||
# MickDefender(),
|
# MickDefender(),
|
||||||
# TucoFranziskaner(),
|
TucoFranziskaner(),
|
||||||
]
|
]
|
||||||
for c in cards:
|
for c in cards:
|
||||||
c.expansion_icon = '👻️'
|
c.expansion_icon = '👻️'
|
||||||
|
@ -13,6 +13,7 @@ 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
|
import bang.expansions.gold_rush.characters as grch
|
||||||
import bang.expansions.the_valley_of_shadows.cards as tvosc
|
import bang.expansions.the_valley_of_shadows.cards as tvosc
|
||||||
|
import bang.expansions.the_valley_of_shadows.characters as tvosch
|
||||||
from typing import List
|
from typing import List
|
||||||
from metrics import Metrics
|
from metrics import Metrics
|
||||||
from globals import G
|
from globals import G
|
||||||
@ -551,6 +552,7 @@ class Player:
|
|||||||
self.pending_action = PendingAction.PLAY
|
self.pending_action = PendingAction.PLAY
|
||||||
num = 2 if not self.character.check(self.game, chd.BillNoface) else self.max_lives-self.lives+1
|
num = 2 if not self.character.check(self.game, chd.BillNoface) else self.max_lives-self.lives+1
|
||||||
if self.character.check(self.game, chd.PixiePete): num += 1
|
if self.character.check(self.game, chd.PixiePete): num += 1
|
||||||
|
if self.character.check(self.game, tvosch.TucoFranziskaner) and not any((True for c in self.equipment if not c.usable_next_turn)): num += 2
|
||||||
if (any((isinstance(c, grc.Piccone) for c in self.gold_rush_equipment))): num += 1
|
if (any((isinstance(c, grc.Piccone) for c in self.gold_rush_equipment))): num += 1
|
||||||
if self.game.check_event(ceh.IlTreno) or (self.is_ghost and self.game.check_event(ceh.CittaFantasma)): num += 1
|
if self.game.check_event(ceh.IlTreno) or (self.is_ghost and self.game.check_event(ceh.CittaFantasma)): num += 1
|
||||||
elif self.game.check_event(ceh.Sete): num -= 1
|
elif self.game.check_event(ceh.Sete): num -= 1
|
||||||
|
Loading…
Reference in New Issue
Block a user