示例#1
0
             cost=[],
             color_identity=['B'],
             card_type="Land",
             sub_types="Swamp",
             abilities=[],
             set_id="ROE",
             rarity="Basic",
             collectible=True,
             set_number=237,
             mtga_id=36812)
Island = Card(name="island",
              pretty_name="Island",
              cost=[],
              color_identity=['U'],
              card_type="Land",
              sub_types="Island",
              abilities=[],
              set_id="ROE",
              rarity="Basic",
              collectible=True,
              set_number=235,
              mtga_id=36818)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
RiseOfEldrazi = Set("roe", cards=clsmembers)

set_ability_map = {}
示例#2
0
            abilities_raw = card["abilities"]
            for ability in abilities_raw:
                aid = ability["abilityId"]
                textid = ability["textId"]
                text = loc_map[textid].encode("ascii",
                                              errors="ignore").decode()
                abilities.append(aid)
                all_abilities[aid] = text

            new_card_obj = Card(name=card_name_snake_cased,
                                pretty_name=card_title,
                                cost=cost,
                                color_identity=color_identity,
                                card_type=card_types,
                                sub_types=sub_types,
                                abilities=abilities,
                                set_id=set_id,
                                rarity=rarity,
                                collectible=collectible,
                                set_number=set_number,
                                mtga_id=grp_id)
            set_card_objs.append(new_card_obj)

        except Exception:
            print("hit an error on {} / {} / {}".format(
                card["grpid"], loc_map[card["titleId"]],
                card["CollectorNumber"]))
            raise
    card_set_obj = Set(set_name_class_cased, cards=set_card_objs)
    dynamic_set_tuples.append((card_set_obj, all_abilities))
示例#3
0
                     68432)
UntamedHunger = Card("untamed_hunger", "Untamed Hunger", ['2', 'B'], ['B'],
                     "Enchantment", "Aura", "W17", "Common", 20, 68433)
FalkenrathReaver = Card("falkenrath_reaver", "Falkenrath Reaver", ['1', 'R'],
                        ['R'], "Creature", "Vampire", "W17", "Common", 21,
                        68434)
ShivanDragon = Card("shivan_dragon", "Shivan Dragon", ['4', 'R', 'R'], ['R'],
                    "Creature", "Dragon", "W17", "Rare", 22, 68435)
ThunderingGiant = Card("thundering_giant", "Thundering Giant", ['3', 'R', 'R'],
                       ['R'], "Creature", "Giant", "W17", "Common", 23, 68436)
GarruksHorde = Card("garruks_horde", "Garruk's Horde", ['5', 'G', 'G'], ['G'],
                    "Creature", "Beast", "W17", "Rare", 24, 68437)
Oakenform = Card("oakenform", "Oakenform", ['2', 'G'], ['G'], "Enchantment",
                 "Aura", "W17", "Common", 25, 68438)
RabidBite = Card("rabid_bite", "Rabid Bite", ['1', 'G'], ['G'], "Sorcery", "",
                 "W17", "Common", 26, 68439)
Rootwalla = Card("rootwalla", "Rootwalla", ['2', 'G'], ['G'], "Creature",
                 "Lizard", "W17", "Common", 27, 68440)
StalkingTiger = Card("stalking_tiger", "Stalking Tiger", ['3', 'G'], ['G'],
                     "Creature", "Cat", "W17", "Common", 28, 68441)
StampedingRhino = Card("stampeding_rhino", "Stampeding Rhino", ['4', 'G'],
                       ['G'], "Creature", "Rhino", "W17", "Common", 29, 68442)
WingSnare = Card("wing_snare", "Wing Snare", ['2', 'G'], ['G'], "Sorcery", "",
                 "W17", "Uncommon", 30, 68443)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
WelcomeDecks2017 = Set("welcome_decks_2017", cards=clsmembers)
示例#4
0
                cost=[],
                color_identity=['R'],
                card_type="Land",
                sub_types="Mountain",
                abilities=[],
                set_id="BFZ",
                rarity="Basic",
                collectible=True,
                set_number=265,
                mtga_id=62145)
Forest = Card(name="forest",
              pretty_name="Forest",
              cost=[],
              color_identity=['G'],
              card_type="Land",
              sub_types="Forest",
              abilities=[],
              set_id="BFZ",
              rarity="Basic",
              collectible=True,
              set_number=270,
              mtga_id=62155)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
BattleForZendikar = Set("bfz", cards=clsmembers)

set_ability_map = {}
示例#5
0
Island2 = Card("island", "Island", [], ['U'], "Basic Land", "Island", "DOM", "Basic Land", 255, 67614)
Island3 = Card("island", "Island", [], ['U'], "Basic Land", "Island", "DOM", "Basic Land", 256, 67616)
Island4 = Card("island", "Island", [], ['U'], "Basic Land", "Island", "DOM", "Basic Land", 257, 67618)
Swamp = Card("swamp", "Swamp", [], ['B'], "Basic Land", "Swamp", "DOM", "Basic Land", 258, 67620)
Swamp2 = Card("swamp", "Swamp", [], ['B'], "Basic Land", "Swamp", "DOM", "Basic Land", 259, 67622)
Swamp3 = Card("swamp", "Swamp", [], ['B'], "Basic Land", "Swamp", "DOM", "Basic Land", 260, 67624)
Swamp4 = Card("swamp", "Swamp", [], ['B'], "Basic Land", "Swamp", "DOM", "Basic Land", 261, 67626)
Mountain = Card("mountain", "Mountain", [], ['R'], "Basic Land", "Mountain", "DOM", "Basic Land", 262, 67628)
Mountain2 = Card("mountain", "Mountain", [], ['R'], "Basic Land", "Mountain", "DOM", "Basic Land", 263, 67630)
Mountain3 = Card("mountain", "Mountain", [], ['R'], "Basic Land", "Mountain", "DOM", "Basic Land", 264, 67632)
Mountain4 = Card("mountain", "Mountain", [], ['R'], "Basic Land", "Mountain", "DOM", "Basic Land", 265, 67634)
Forest = Card("forest", "Forest", [], ['G'], "Basic Land", "Forest", "DOM", "Basic Land", 266, 67636)
Forest2 = Card("forest", "Forest", [], ['G'], "Basic Land", "Forest", "DOM", "Basic Land", 267, 67638)
Forest3 = Card("forest", "Forest", [], ['G'], "Basic Land", "Forest", "DOM", "Basic Land", 268, 67640)
Forest4 = Card("forest", "Forest", [], ['G'], "Basic Land", "Forest", "DOM", "Basic Land", 269, 67642)
TeferiTimebender = Card("teferi_timebender", "Teferi, Timebender", ['4', 'W', 'U'], ['W', 'U'], "Legendary Planeswalker", "Teferi", "DOM", "Mythic Rare", 270, 67644)
TemporalMachinations = Card("temporal_machinations", "Temporal Machinations", ['2', 'U'], ['U'], "Sorcery", "", "DOM", "Common", 271, 67646)
NiambiFaithfulHealer = Card("niambi_faithful_healer", "Niambi, Faithful Healer", ['1', 'W', 'U'], ['W', 'U'], "Legendary Creature", "Human Cleric", "DOM", "Rare", 272, 67648)
TeferisSentinel = Card("teferis_sentinel", "Teferi's Sentinel", ['5'], [], "Artifact Creature", "Golem", "DOM", "Uncommon", 273, 67650)
MeanderingRiver = Card("meandering_river", "Meandering River", [], ['W', 'U'], "Land", "", "DOM", "Common", 274, 67652)
ChandraBoldPyromancer = Card("chandra_bold_pyromancer", "Chandra, Bold Pyromancer", ['4', 'R', 'R'], ['R'], "Legendary Planeswalker", "Chandra", "DOM", "Mythic Rare", 275, 67654)
ChandrasOutburst = Card("chandras_outburst", "Chandra's Outburst", ['3', 'R', 'R'], ['R'], "Sorcery", "", "DOM", "Rare", 276, 67656)
KarplusanHound = Card("karplusan_hound", "Karplusan Hound", ['3', 'R'], ['R'], "Creature", "Hound", "DOM", "Uncommon", 277, 67658)
PyromanticPilgrim = Card("pyromantic_pilgrim", "Pyromantic Pilgrim", ['2', 'R'], ['R'], "Creature", "Human Wizard", "DOM", "Common", 278, 67660)
TimberGorge = Card("timber_gorge", "Timber Gorge", [], ['R', 'G'], "Land", "", "DOM", "Common", 279, 67662)
FiresongandSunspeaker = Card("firesong_and_sunspeaker", "Firesong and Sunspeaker", ['4', 'R', 'W'], ['W', 'R'], "Legendary Creature", "Minotaur Cleric", "DOM", "Rare", 280, 67664)

clsmembers = [card for name, card in inspect.getmembers(sys.modules[__name__]) if isinstance(card, Card)]
Dominaria = Set("dominaria", cards=clsmembers)

示例#6
0
              cost=[],
              color_identity=['W'],
              card_type="Land",
              sub_types="Plains",
              abilities=[],
              set_id="MI",
              rarity="Basic",
              collectible=True,
              set_number=0,
              mtga_id=7193)
Swamp = Card(name="swamp",
             pretty_name="Swamp",
             cost=[],
             color_identity=['B'],
             card_type="Land",
             sub_types="Swamp",
             abilities=[],
             set_id="MI",
             rarity="Basic",
             collectible=True,
             set_number=0,
             mtga_id=7347)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
Mirage = Set("mi", cards=clsmembers)

set_ability_map = {}
示例#7
0
# wtf
# end wtf
FoulOrchardAKH = Card("foul_orchard", "Foul Orchard", [], ['B', 'G'], "Land",
                      "", "AKH", "Common", 279, 65461)
CinderBarrensAKH = Card("cinder_barrens", "Cinder Barrens", [], ['B', 'R'],
                        "Land", "", "AKH", "Common", 280, 65463)
ForsakenSanctuaryAKH = Card("forsaken_sanctuary", "Forsaken Sanctuary", [],
                            ['W', 'B'], "Land", "", "AKH", "Common", 281,
                            65465)
HighlandLakeAKH = Card("highland_lake", "Highland Lake", [], ['U', 'R'],
                       "Land", "", "AKH", "Common", 282, 65467)
MeanderingRiverAKH = Card("meandering_river", "Meandering River", [],
                          ['W', 'U'], "Land", "", "AKH", "Common", 283, 65469)
SubmergedBoneyardAKH = Card("submerged_boneyard", "Submerged Boneyard", [],
                            ['U', 'B'], "Land", "", "AKH", "Common", 284,
                            65471)
TimberGorgeAKH = Card("timber_gorge", "Timber Gorge", [], ['R', 'G'], "Land",
                      "", "AKH", "Common", 285, 65473)
TranquilExpanseAKH = Card("tranquil_expanse", "Tranquil Expanse", [],
                          ['G', 'W'], "Land", "", "AKH", "Common", 286, 65475)
WoodlandStreamAKH = Card("woodland_stream", "Woodland Stream", [], ['G', 'U'],
                         "Land", "", "AKH", "Common", 287, 65477)

# WoodlandStream = Card("woodland_stream", "Woodland Stream", [], ['G', 'U'], "Land", "", "AKH", 287, 65433)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
Amonkhet = Set("amonkhet", cards=clsmembers)
示例#8
0
FlameLash = Card("flame_lash", "Flame Lash", ['3', 'R'], ['R'], "Instant", "",
                 "KLD", "Common", 266, 65409)
LiberatingCombustion = Card("liberating_combustion", "Liberating Combustion",
                            ['4', 'R'], ['R'], "Sorcery", "", "KLD", "Rare",
                            267, 65411)
RenegadeFirebrand = Card("renegade_firebrand", "Renegade Firebrand",
                         ['2', 'R'], ['R'], "Creature", "Human Warrior", "KLD",
                         "Uncommon", 268, 65413)
StoneQuarry = Card("stone_quarry", "Stone Quarry", [], ['R', 'W'], "Land", "",
                   "KLD", "Common", 269, 65415)
NissaNaturesArtisan = Card("nissa_natures_artisan", "Nissa, Nature's Artisan",
                           ['4', 'G', 'G'], ['G'], "Legendary Planeswalker",
                           "Nissa", "KLD", "Mythic Rare", 270, 65417)
GuardianoftheGreatConduit = Card("guardian_of_the_great_conduit",
                                 "Guardian of the Great Conduit", ['3', 'G'],
                                 ['G'], "Creature", "Elemental", "KLD",
                                 "Uncommon", 271, 65419)
TerrainElemental = Card("terrain_elemental", "Terrain Elemental", ['1', 'G'],
                        ['G'], "Creature", "Elemental", "KLD", "Common", 272,
                        65421)
VerdantCrescendo = Card("verdant_crescendo", "Verdant Crescendo", ['3', 'G'],
                        ['G'], "Sorcery", "", "KLD", "Rare", 273, 65423)
WoodlandStream = Card("woodland_stream", "Woodland Stream", [], ['G', 'U'],
                      "Land", "", "KLD", "Common", 274, 65425)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
Kaladesh = Set("kaladesh", cards=clsmembers)
示例#9
0
                cost=[],
                color_identity=['R'],
                card_type="Land",
                sub_types="Mountain",
                abilities=[],
                set_id="AKH",
                rarity="Basic",
                collectible=True,
                set_number=264,
                mtga_id=65385)
Forest = Card(name="forest",
              pretty_name="Forest",
              cost=[],
              color_identity=['G'],
              card_type="Land",
              sub_types="Forest",
              abilities=[],
              set_id="AKH",
              rarity="Basic",
              collectible=True,
              set_number=267,
              mtga_id=65393)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
Amonkhet = Set("akh", cards=clsmembers)

set_ability_map = {}
示例#10
0
                             "AER", "Mythic Rare", 185, 65917)
InspiringRoar = Card("inspiring_roar", "Inspiring Roar", ['3', 'W'], ['W'],
                     "Sorcery", "", "AER", "Common", 186, 65919)
AjanisComrade = Card("ajanis_comrade", "Ajani's Comrade", ['1', 'G'], ['G'],
                     "Creature", "Elf Soldier", "AER", "Uncommon", 187, 65921)
AjanisAid = Card("ajanis_aid", "Ajani's Aid", ['2', 'G', 'W'], ['W', 'G'],
                 "Enchantment", "", "AER", "Rare", 188, 65923)
TranquilExpanse = Card("tranquil_expanse", "Tranquil Expanse", [], ['G', 'W'],
                       "Land", "", "AER", "Common", 189, 65925)
TezzeretMasterofMetal = Card("tezzeret_master_of_metal",
                             "Tezzeret, Master of Metal", ['4', 'U', 'B'],
                             ['U', 'B'], "Legendary Planeswalker", "Tezzeret",
                             "AER", "Mythic Rare", 190, 65927)
TezzeretsBetrayal = Card("tezzerets_betrayal", "Tezzeret's Betrayal",
                         ['3', 'U', 'B'], ['U', 'B'], "Sorcery", "", "AER",
                         "Rare", 191, 65929)
PendulumofPatterns = Card("pendulum_of_patterns", "Pendulum of Patterns",
                          ['2'], [], "Artifact", "", "AER", "Common", 192,
                          65931)
TezzeretsSimulacrum = Card("tezzerets_simulacrum", "Tezzeret's Simulacrum",
                           ['3'], [], "Artifact Creature", "Golem", "AER",
                           "Uncommon", 193, 65933)
SubmergedBoneyard = Card("submerged_boneyard", "Submerged Boneyard", [],
                         ['U', 'B'], "Land", "", "AER", "Common", 194, 65935)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
AetherRevolt = Set("aether_revolt", cards=clsmembers)
示例#11
0
Swamp = Card(name="swamp", pretty_name="Swamp", cost=[],
             color_identity=['B'], card_type="Land", sub_types="Swamp",
             abilities=[], set_id="ANA", rarity="Basic", collectible=False, set_number=53,
             mtga_id=69445)
Mountain = Card(name="mountain", pretty_name="Mountain", cost=[],
                color_identity=['R'], card_type="Land", sub_types="Mountain",
                abilities=[], set_id="ANA", rarity="Basic", collectible=False, set_number=54,
                mtga_id=69446)
Forest = Card(name="forest", pretty_name="Forest", cost=[],
              color_identity=['G'], card_type="Land", sub_types="Forest",
              abilities=[], set_id="ANA", rarity="Basic", collectible=False, set_number=55,
              mtga_id=69447)


clsmembers = [card for name, card in inspect.getmembers(sys.modules[__name__]) if isinstance(card, Card)]
ArenaExclusives = Set("ana", cards=clsmembers)

set_ability_map = {7: 'Flash',
 8: 'Flying',
 9: 'Haste',
 15: 'Vigilance',
 1027: 'Enchant creature',
 1031: 'Target creature gets +4/+4 until end of turn.',
 1246: 'Copy target instant or sorcery spell. You may choose new targets for '
       'the copy.',
 1275: 'As an additional cost to cast this spell, sacrifice a creature.',
 1385: 'Destroy target tapped creature.',
 1713: 'You draw three cards and you lose 3 life.',
 2018: 'Enchanted creature gets +2/+2.',
 2159: 'Put target creature card from a graveyard onto the battlefield under '
       'your control. That creature is a black Zombie in addition to its other '
示例#12
0
                cost=[],
                color_identity=['R'],
                card_type="Land",
                sub_types="Mountain",
                abilities=[],
                set_id="RTR",
                rarity="Basic",
                collectible=True,
                set_number=265,
                mtga_id=51819)
Forest = Card(name="forest",
              pretty_name="Forest",
              cost=[],
              color_identity=['G'],
              card_type="Land",
              sub_types="Forest",
              abilities=[],
              set_id="RTR",
              rarity="Basic",
              collectible=True,
              set_number=270,
              mtga_id=51829)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
ReturnToRavnica = Set("rtr", cards=clsmembers)

set_ability_map = {}
示例#13
0
BattleDisplay = Card(name="battle_display", pretty_name="Battle Display", cost=['R'],
                     color_identity=['R'], card_type="Sorcery", sub_types="Adventure",
                     abilities=[22564], set_id="ELD", rarity="Uncommon", collectible=False, set_number=122,
                     mtga_id=70489)
FertileFootsteps = Card(name="fertile_footsteps", pretty_name="Fertile Footsteps", cost=['2', 'G'],
                        color_identity=['G'], card_type="Sorcery", sub_types="Adventure",
                        abilities=[5296], set_id="ELD", rarity="Uncommon", collectible=False, set_number=149,
                        mtga_id=70492)
SeasonalRitual = Card(name="seasonal_ritual", pretty_name="Seasonal Ritual", cost=['G'],
                      color_identity=['G'], card_type="Sorcery", sub_types="Adventure",
                      abilities=[1429], set_id="ELD", rarity="Common", collectible=False, set_number=174,
                      mtga_id=70497)


clsmembers = [card for name, card in inspect.getmembers(sys.modules[__name__]) if isinstance(card, Card)]
ThroneOfEldraine = Set("ThroneOfEldraine", cards=clsmembers)

set_ability_map = {1: 'Deathtouch',
 3: 'Double strike',
 7: 'Flash',
 8: 'Flying',
 9: 'Haste',
 12: 'Lifelink',
 14: 'Trample',
 15: 'Vigilance',
 142: 'Menace',
 197: '{o2}, {oT}, Sacrifice this artifact: You gain 3 life.',
 1027: 'Enchant creature',
 1055: '{oT}: Add one mana of any color.',
 1152: '{oT}: Add {oC}.',
 1156: 'Equip {o3}',
示例#14
0
                        ['U'], "Enchantment", "Aura", "XLN", "Common", 281,
                        66543)
GraspingCurrent = Card("grasping_current", "Grasping Current", ['4', 'U'],
                       ['U'], "Sorcery", "", "XLN", "Rare", 282, 66545)
JacesSentinel = Card("jaces_sentinel", "Jace's Sentinel", ['1', 'U'], ['U'],
                     "Creature", "Merfolk Warrior", "XLN", "Uncommon", 283,
                     66547)
WoodlandStream = Card("woodland_stream", "Woodland Stream", [], ['G', 'U'],
                      "Land", "", "XLN", "Common", 284, 66549)
HuatliDinosaurKnight = Card("huatli_dinosaur_knight",
                            "Huatli, Dinosaur Knight", ['4', 'R', 'W'],
                            ['W', 'R'], "Legendary Planeswalker", "Huatli",
                            "XLN", "Mythic Rare", 285, 66551)
HuatlisSnubhorn = Card("huatlis_snubhorn", "Huatli's Snubhorn", ['1', 'W'],
                       ['W'], "Creature", "Dinosaur", "XLN", "Common", 286,
                       66553)
HuatlisSpurring = Card("huatlis_spurring", "Huatli's Spurring", ['R'], ['R'],
                       "Instant", "", "XLN", "Uncommon", 287, 66555)
SunBlessedMount = Card("sunblessed_mount", "Sun-Blessed Mount",
                       ['3', 'R', 'W'], ['W', 'R'], "Creature", "Dinosaur",
                       "XLN", "Rare", 288, 66557)
StoneQuarry = Card("stone_quarry", "Stone Quarry", [], ['R', 'W'], "Land", "",
                   "XLN", "Common", 289, 66559)
# end mixup

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
Ixalan = Set("ixalan", cards=clsmembers)
示例#15
0
InspiringCommander = Card("inspiring_commander", "Inspiring Commander",
                          ['4', 'W', 'W'], ['W'], "", "", "ANA", "Rare", 39,
                          69110)
ShrineKeeper = Card("shrine_keeper", "Shrine Keeper", ['1', 'W'], ['W'], "",
                    "", "ANA", "Common", 40, 69111)
RiversFavor = Card("rivers_favor", "River's Favor", ['U'], ['U'], "", "",
                   "ANA", "Common", 41, 69112)
TitanicPelagosaur = Card("titanic_pelagosaur", "Titanic Pelagosaur",
                         ['3', 'U', 'U'], ['U'], "", "", "ANA", "Uncommon", 42,
                         69113)
TrappedinaWhirlpool = Card("trapped_in_a_whirlpool", "Trapped in a Whirlpool",
                           ['3', 'U'], ['U'], "", "", "ANA", "Common", 43,
                           69114)
CruelCut = Card("cruel_cut", "Cruel Cut", ['1', 'B'], ['B'], "", "", "ANA",
                "Common", 44, 69115)
NimblePilferer = Card("nimble_pilferer", "Nimble Pilferer", ['1', 'B'], ['B'],
                      "", "", "ANA", "Common", 45, 69116)
GoblinGangLeader = Card("goblin_gang_leader", "Goblin Gang Leader",
                        ['2', 'R', 'R'], ['R'], "", "", "ANA", "Uncommon", 46,
                        69117)
OgrePainbringer = Card("ogre_painbringer", "Ogre Painbringer", ['3', 'R', 'R'],
                       ['R'], "", "", "ANA", "Rare", 47, 69118)
TreetopWarden = Card("treetop_warden", "Treetop Warden", ['1', 'G'], ['G'], "",
                     "", "ANA", "Common", 48, 69119)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
ArenaExlusives = Set("arena_exclusives", cards=clsmembers)
示例#16
0
             cost=[],
             color_identity=[],
             card_type="Creature",
             sub_types="Plant",
             abilities=[],
             set_id="ARENASUP",
             rarity="Token",
             collectible=False,
             set_number=10003,
             mtga_id=70511)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
ArenaSup = Set("arenasup", cards=clsmembers)

set_ability_map = {
    183:
    '{oT}, Sacrifice this artifact: Add one mana of any color.',
    19205:
    'You may cast spells from your hand without paying their mana costs.',
    121336:
    "{oX}, Discard a Card: Create a token that's a copy of a random "
    'creature card with converted mana cost X. Activate this ability only '
    'any time you could cast a sorcery and only once each turn.',
    133323:
    '{o0}: Add {oWoUoBoRoG}. Activate this ability only once each turn.',
    133330:
    'Whenever you cast your first spell each turn, exile cards from the '
    'top of your library until you exile a nonland card with converted '
示例#17
0
from mtga.models.card import Card
from mtga.models.card_set import Set

CinderBarrens = Card("cinder_barrens", "Cinder Barrens", [], ["B", "R"], "Land", "", "OGW", "Common", -1, 62499)
TranquilExpanse = Card("tranquil_expanse", "Tranquil Expanse", [], ["G", "W"], "Land", "", "OGW", "Common", -1, 62523)
MeanderingRiver = Card("meandering_river", "Meandering River", [], ["U", "W"], "Land", "", "OGW", "Common", -1, 62509)
SubmergedBoneyard = Card("submerged_boneyard", "Submerged Boneyard", [], ["B", "U"], "Land", "", "OGW", "Common", -1, 62519)
TimberGorge = Card("timber_gorge", "Timber Gorge", [], ["G", "R"], "Land", "", "OGW", "Common", -1, 62521)

# TODO: why are these offset more than the others?

FullArtPlainsAKH = Card("plains", "Plains", [], ['W'], "Basic Land", "Plains", "AKH", "Common", 251, 65433)
FullArtIslandAKH = Card("island", "Island", [], ['U'], "Basic Land", "Island", "AKH", "Common", 250, 65435)
FullArtSwampAKH = Card("swamp", "Swamp", [], ['B'], "Basic Land", "Swamp", "AKH", "Common", 252, 65437)
FullArtMountainAKH = Card("mountain", "Mountain", [], ['R'], "Basic Land", "Mountain", "Common", "AKH", 253, 65439)
FullArtForestAKH = Card("forest", "Forest", [], ['G'], "Basic Land", "Forest", "AKH", "Common", 254, 65441)


WeirdLands = Set("weird_lands", cards=[CinderBarrens, TranquilExpanse, MeanderingRiver, TimberGorge, SubmergedBoneyard,
                                       FullArtPlainsAKH, FullArtIslandAKH, FullArtSwampAKH, FullArtMountainAKH, FullArtForestAKH])
示例#18
0
                           ['4', 'G', 'G'], ['G'], "Creature", "Elemental",
                           "HOU", "Common", 202, 65941)
NissasEncouragement = Card("nissas_encouragement", "Nissa's Encouragement",
                           ['4', 'G'], ['G'], "Sorcery", "", "HOU", "Rare",
                           203, 65943)
WoodlandStream = Card("woodland_stream", "Woodland Stream", [], ['G', 'U'],
                      "Land", "", "HOU", "Common", 204, 65945)
NicolBolastheDeceiver = Card("nicol_bolas_the_deceiver",
                             "Nicol Bolas, the Deceiver", ['5', 'U', 'B', 'R'],
                             ['U', 'B', 'R'], "Legendary Planeswalker",
                             "Bolas", "HOU", "Mythic Rare", 205, 65947)
WaspoftheBitterEnd = Card("wasp_of_the_bitter_end", "Wasp of the Bitter End",
                          ['1', 'B'], ['B'], "Creature", "Insect Horror",
                          "HOU", "Uncommon", 206, 65949)
ZealotoftheGodPharaoh = Card("zealot_of_the_godpharaoh",
                             "Zealot of the God-Pharaoh", ['3', 'R'], ['R'],
                             "Creature", "Minotaur Archer", "HOU", "Common",
                             207, 65951)
VisageofBolas = Card("visage_of_bolas", "Visage of Bolas", ['4'],
                     ['U', 'B', 'R'], "Artifact", "", "HOU", "Rare", 208,
                     65953)
CinderBarrens = Card("cinder_barrens", "Cinder Barrens", [], ['B', 'R'],
                     "Land", "", "HOU", "Common", 209, 65955)
# end mixup

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
HourOfDevastation = Set("hour_of_devastation", cards=clsmembers)
示例#19
0
                            "Vraska, Scheming Gorgon", ['4', 'B', 'B'], ['B'],
                            "Legendary Planeswalker", "Vraska", "RIX",
                            "Mythic Rare", 197, 67025)
VampireChampion = Card("vampire_champion", "Vampire Champion", ['3', 'B'],
                       ['B'], "Creature", "Vampire Soldier", "RIX", "Common",
                       198, 67027)
VraskasConquistador = Card("vraskas_conquistador", "Vraska's Conquistador",
                           ['1', 'B'], ['B'], "Creature", "Vampire Soldier",
                           "RIX", "Uncommon", 199, 67029)
VraskasScorn = Card("vraskas_scorn", "Vraska's Scorn", ['2', 'B', 'B'], ['B'],
                    "Sorcery", "", "RIX", "Rare", 200, 67031)
AngrathMinotaurPirate = Card("angrath_minotaur_pirate",
                             "Angrath, Minotaur Pirate", ['4', 'B', 'R'],
                             ['B', 'R'], "Legendary Planeswalker", "Angrath",
                             "RIX", "Mythic Rare", 201, 67033)
AngrathsAmbusher = Card("angraths_ambusher", "Angrath's Ambusher", ['2', 'B'],
                        ['B'], "Creature", "Orc Pirate", "RIX", "Uncommon",
                        202, 67035)
SwabGoblin = Card("swab_goblin", "Swab Goblin", ['1', 'R'], ['R'], "Creature",
                  "Goblin Pirate", "RIX", "Common", 203, 67037)
AngrathsFury = Card("angraths_fury", "Angrath's Fury", ['3', 'B', 'R'],
                    ['B', 'R'], "Sorcery", "", "RIX", "Rare", 204, 67039)
CinderBarrens = Card("cinder_barrens", "Cinder Barrens", [], ['B', 'R'],
                     "Land", "", "RIX", "Common", 205, 67041)

clsmembers = [
    card for name, card in inspect.getmembers(sys.modules[__name__])
    if isinstance(card, Card)
]
RivalsOfIxalan = Set("rivals_of_ixalan", cards=clsmembers)