Exemplo n.º 1
0
def ScoreGoldenAgeofTerraforming(card):
    if 'Terraforming' in card:
        return 2 + (DeckInfo.ProductionPower(card) == PRODUCTION)
    if DeckInfo.CardIsDev(card) and (DeckInfo.Cost(card) == 6):
        return 1
    if DeckInfo.ProductionPower(card) == PRODUCTION:
        return 1
    return 0
Exemplo n.º 2
0
def ScoreFreeTradeAssociation(card):
    if card in ['Consumer Markets', 'Expanding Colony']:
        return 2
    if DeckInfo.GoodType(card) == NOVELTY:
        return 1 + (DeckInfo.ProductionPower(card) == PRODUCTION)
    return 0
Exemplo n.º 3
0
def ScoreAlienTechInstitute(card):
    if 'Alien' in card:
        return 2 + (DeckInfo.ProductionPower(card) == PRODUCTION)
    return 0
Exemplo n.º 4
0
def ScoreAlienCornucopia(card):
    if 'Alien' in card:
        return 2
    if DeckInfo.ProductionPower(card) == PRODUCTION:
        return 1
    return 0
Exemplo n.º 5
0
def ScoreTerraformingGuild(card):
    if 'Terraforming' in card:
        return 2
    return 2 * (DeckInfo.ProductionPower(card) == WINDFALL)
Exemplo n.º 6
0
def ScoreMiningLeague(card):
    if card in ['Mining Conglomerate', 'Mining Robots']:
        return 2
    return (DeckInfo.GoodType(card) == RARE) * (
        (DeckInfo.ProductionPower(card) == PRODUCTION) + 1)
Exemplo n.º 7
0
def ScoreMerchantGuild(card):
    return (DeckInfo.ProductionPower(card) == PRODUCTION) * 2