Beispiel #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
Beispiel #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
Beispiel #3
0
def ScoreAlienTechInstitute(card):
    if 'Alien' in card:
        return 2 + (DeckInfo.ProductionPower(card) == PRODUCTION)
    return 0
Beispiel #4
0
def ScoreAlienCornucopia(card):
    if 'Alien' in card:
        return 2
    if DeckInfo.ProductionPower(card) == PRODUCTION:
        return 1
    return 0
Beispiel #5
0
def ScoreTerraformingGuild(card):
    if 'Terraforming' in card:
        return 2
    return 2 * (DeckInfo.ProductionPower(card) == WINDFALL)
Beispiel #6
0
def ScoreMiningLeague(card):
    if card in ['Mining Conglomerate', 'Mining Robots']:
        return 2
    return (DeckInfo.GoodType(card) == RARE) * (
        (DeckInfo.ProductionPower(card) == PRODUCTION) + 1)
Beispiel #7
0
def ScoreMerchantGuild(card):
    return (DeckInfo.ProductionPower(card) == PRODUCTION) * 2