Пример #1
0
def ScoreUpliftCode(card):
    keywords = DeckInfo.Keywords(card)
    return ('UpliftX' in keywords) + 2 * ('Uplift' in keywords)
Пример #2
0
def ScoreProspectingGuild(card):
    if DeckInfo.GoodType(card) == RARE:
        return 2
    if 'Terraforming' in DeckInfo.Keywords(card):
        return 1
    return DeckInfo.CardIsWorld(card)
Пример #3
0
def ScoreRebelAlliance(card):
    keywords = DeckInfo.Keywords(card)
    if 'Rebel' in keywords:
        return 2
    return DeckInfo.IsMilWorld(card)
Пример #4
0
def ScoreImperiumSeat(card):
    keywords = DeckInfo.Keywords(card)
    if 'Imperium' in keywords:
        return 2
    return 2 * ('Rebel' in keywords and DeckInfo.IsMilWorld(card))