def scryfall_to_mtga(scryfall_card): name = scryfall_card['name'].lower().replace(' ', '_') pretty_name = scryfall_card['name'] cost = list(scryfall_card['mana_cost'].replace('}', '').replace('{', '')) color_identity = scryfall_card['color_identity'] types = scryfall_card['type_line'].split(u' — ') card_type = types[0] try: sub_types = types[1] except IndexError: sub_types = "" set_id = scryfall_card['set'].upper() rarity = scryfall_card['rarity'] set_number = scryfall_card['collector_number'] mtga_id = scryfall_card['arena_id'] mtga_card = Card( name, pretty_name, cost, color_identity, card_type, sub_types, set_id, rarity, set_number, mtga_id ) return mtga_card
text = "unknown ability id {} / {}".format(aid, textid) abilities.append(aid) all_abilities[aid] = text power = card.get("power", 0) toughness = card.get("toughness", 0) 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, digital_set_id=digital_set_id, rarity=rarity, artist=card.get("artistCredit"), collectible=collectible, set_number=set_number, mtga_id=grp_id, power=power, toughness=toughness, styles=set(card.get("knownSupportedStyles", []))) set_card_objs.append(new_card_obj) except Exception: print("hit an error on {} / {} / {}".format( card["grpid"], loc_map[card["titleId"]], card["collectorNumber"])) #raise
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect Plains = Card(name="plains", pretty_name="Plains", cost=[], color_identity=['W'], card_type="Land", sub_types="Plains", abilities=[], set_id="BFZ", rarity="Basic", collectible=True, set_number=250, mtga_id=62115) Island = Card(name="island", pretty_name="Island", cost=[], color_identity=['U'], card_type="Land", sub_types="Island", abilities=[], set_id="BFZ", rarity="Basic", collectible=True, set_number=255, mtga_id=62125) Swamp = Card(name="swamp", pretty_name="Swamp",
class CardOwned: card = Card() owned = 0
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect AcrobaticManeuver = Card("acrobatic_maneuver", "Acrobatic Maneuver", ['2', 'W'], ['W'], "Instant", "", "KLD", "Common", 1, 63641) AerialResponder = Card("aerial_responder", "Aerial Responder", ['1', 'W', 'W'], ['W'], "Creature", "Dwarf Soldier", "KLD", "Uncommon", 2, 63643) AetherstormRoc = Card("aetherstorm_roc", "Aetherstorm Roc", ['2', 'W', 'W'], ['W'], "Creature", "Bird", "KLD", "Rare", 3, 63645) AngelofInvention = Card("angel_of_invention", "Angel of Invention", ['3', 'W', 'W'], ['W'], "Creature", "Angel", "KLD", "Mythic Rare", 4, 63647) AuthorityoftheConsuls = Card("authority_of_the_consuls", "Authority of the Consuls", ['W'], ['W'], "Enchantment", "", "KLD", "Rare", 5, 63649) AviaryMechanic = Card("aviary_mechanic", "Aviary Mechanic", ['1', 'W'], ['W'], "Creature", "Dwarf Artificer", "KLD", "Common", 6, 63651) BuilttoLast = Card("built_to_last", "Built to Last", ['W'], ['W'], "Instant", "", "KLD", "Common", 7, 63653) CapturedbytheConsulate = Card("captured_by_the_consulate", "Captured by the Consulate", ['3', 'W'], ['W'], "Enchantment", "Aura", "KLD", "Rare", 8, 63655) CataclysmicGearhulk = Card("cataclysmic_gearhulk", "Cataclysmic Gearhulk", ['3', 'W', 'W'], ['W'], "Artifact Creature", "Construct", "KLD", "Mythic Rare", 9, 63657) ConsulateSurveillance = Card("consulate_surveillance", "Consulate Surveillance", ['3', 'W'], ['W'],
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect KarnScionofUrza = Card("karn_scion_of_urza", "Karn, Scion of Urza", ['4'], [], "Legendary Planeswalker", "Karn", "DOM", "Mythic Rare", 1, 67106) AdamantWill = Card("adamant_will", "Adamant Will", ['1', 'W'], ['W'], "Instant", "", "DOM", "Common", 2, 67108) AvenSentry = Card("aven_sentry", "Aven Sentry", ['3', 'W'], ['W'], "Creature", "Bird Soldier", "DOM", "Common", 3, 67110) BairdStewardofArgive = Card("baird_steward_of_argive", "Baird, Steward of Argive", ['2', 'W', 'W'], ['W'], "Legendary Creature", "Human Soldier", "DOM", "Uncommon", 4, 67112) BenalishHonorGuard = Card("benalish_honor_guard", "Benalish Honor Guard", ['1', 'W'], ['W'], "Creature", "Human Knight", "DOM", "Common", 5, 67114) BenalishMarshal = Card("benalish_marshal", "Benalish Marshal", ['W', 'W', 'W'], ['W'], "Creature", "Human Knight", "DOM", "Rare", 6, 67116) BlessedLight = Card("blessed_light", "Blessed Light", ['4', 'W'], ['W'], "Instant", "", "DOM", "Common", 7, 67118) BoardtheWeatherlight = Card("board_the_weatherlight", "Board the Weatherlight", ['1', 'W'], ['W'], "Sorcery", "", "DOM", "Uncommon", 8, 67120) CalltheCavalry = Card("call_the_cavalry", "Call the Cavalry", ['3', 'W'], ['W'], "Sorcery", "", "DOM", "Common", 9, 67122) Charge = Card("charge", "Charge", ['W'], ['W'], "Instant", "", "DOM", "Common", 10, 67124) DAvenantTrapper = Card("davenant_trapper", "D'Avenant Trapper", ['2', 'W'], ['W'], "Creature", "Human Archer", "DOM", "Common", 11, 67126) DanithaCapashenParagon = Card("danitha_capashen_paragon", "Danitha Capashen, Paragon", ['2', 'W'], ['W'], "Legendary Creature", "Human Knight", "DOM", "Uncommon", 12, 67128) DaringArchaeologist = Card("daring_archaeologist", "Daring Archaeologist", ['3', 'W'], ['W'], "Creature", "Human Artificer", "DOM", "Rare", 13, 67130) DauntlessBodyguard = Card("dauntless_bodyguard", "Dauntless Bodyguard", ['W'], ['W'], "Creature", "Human Knight", "DOM", "Uncommon", 14, 67132) Dub = Card("dub", "Dub", ['2', 'W'], ['W'], "Enchantment", "Aura", "DOM", "Common", 15, 67134) EvraHalcyonWitness = Card("evra_halcyon_witness", "Evra, Halcyon Witness", ['4', 'W', 'W'], ['W'], "Legendary Creature", "Avatar", "DOM", "Rare", 16, 67136) ExcavationElephant = Card("excavation_elephant", "Excavation Elephant", ['4', 'W'], ['W'], "Creature", "Elephant", "DOM", "Common", 17, 67138) FalloftheThran = Card("fall_of_the_thran", "Fall of the Thran", ['5', 'W'], ['W'], "Enchantment", "Saga", "DOM", "Rare", 18, 67140) GideonsReproach = Card("gideons_reproach", "Gideon's Reproach", ['1', 'W'], ['W'], "Instant", "", "DOM", "Common", 19, 67142) HealingGrace = Card("healing_grace", "Healing Grace", ['W'], ['W'], "Instant", "", "DOM", "Common", 20, 67144) HistoryofBenalia = Card("history_of_benalia", "History of Benalia", ['1', 'W', 'W'], ['W'], "Enchantment", "Saga", "DOM", "Mythic Rare", 21, 67146) InvoketheDivine = Card("invoke_the_divine", "Invoke the Divine", ['2', 'W'], ['W'], "Instant", "", "DOM", "Common", 22, 67148) KnightofGrace = Card("knight_of_grace", "Knight of Grace", ['1', 'W'], ['W'], "Creature", "Human Knight", "DOM", "Uncommon", 23, 67150) KnightofNewBenalia = Card("knight_of_new_benalia", "Knight of New Benalia", ['1', 'W'], ['W'], "Creature", "Human Knight", "DOM", "Common", 24, 67152)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect BlindingRadiance = Card("blinding_radiance", "Blinding Radiance", ['2', 'W'], ['W'], "", "", "ANA", "Uncommon", 1, 68766) SpiritualGuardian = Card("spiritual_guardian", "Spiritual Guardian", ['3', 'W', 'W'], ['W'], "", "", "ANA", "Common", 2, 68767) TacticalAdvantage = Card("tactical_advantage", "Tactical Advantage", ['W'], ['W'], "", "", "ANA", "Common", 3, 68769) FeralRoar = Card("feral_roar", "Feral Roar", ['1', 'G'], ['G'], "", "", "ANA", "Common", 4, 68771) ShorecomberCrab = Card("shorecomber_crab", "Shorecomber Crab", ['U'], ['U'], "", "", "ANA", "Common", 5, 68772) GoblinBruiser = Card("goblin_bruiser", "Goblin Bruiser", ['1', 'R', 'R'], ['R'], "", "", "ANA", "Uncommon", 6, 68773) ZephyrGull = Card("zephyr_gull", "Zephyr Gull", ['U'], ['U'], "", "", "ANA", "Common", 7, 68776) SoulhunterRakshasa = Card("soulhunter_rakshasa", "Soulhunter Rakshasa", ['3', 'B', 'B'], ['B'], "", "", "ANA", "Rare", 8, 68782) RagingGoblin = Card("raging_goblin", "Raging Goblin", ['R'], ['R'], "", "", "ANA", "Common", 9, 68784) ConfronttheAssault = Card("confront_the_assault", "Confront the Assault", ['4', 'W'], ['W'], "", "", "ANA", "Uncommon", 10, 68786) TakeVengeance = Card("take_vengeance", "Take Vengeance", ['1', 'W'], ['W'], "", "", "ANA", "Common", 11, 68787) KnightsPledge = Card("knights_pledge", "Knight's Pledge", ['1', 'W'], ['W'],
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect AdantoVanguard = Card("adanto_vanguard", "Adanto Vanguard", ['1', 'W'], ['W'], "Creature", "Vampire Soldier", "XLN", "Uncommon", 1, 65961) AshesoftheAbhorrent = Card("ashes_of_the_abhorrent", "Ashes of the Abhorrent", ['1', 'W'], ['W'], "Enchantment", "", "XLN", "Rare", 2, 65963) AxisofMortality = Card("axis_of_mortality", "Axis of Mortality", ['4', 'W', 'W'], ['W'], "Enchantment", "", "XLN", "Mythic Rare", 3, 65965) BellowingAegisaur = Card("bellowing_aegisaur", "Bellowing Aegisaur", ['5', 'W'], ['W'], "Creature", "Dinosaur", "XLN", "Uncommon", 4, 65967) BishopofRebirth = Card("bishop_of_rebirth", "Bishop of Rebirth", ['3', 'W', 'W'], ['W'], "Creature", "Vampire Cleric", "XLN", "Rare", 5, 65969) BishopsSoldier = Card("bishops_soldier", "Bishop's Soldier", ['1', 'W'], ['W'], "Creature", "Vampire Soldier", "XLN", "Common", 6, 65971) BrightReprisal = Card("bright_reprisal", "Bright Reprisal", ['4', 'W'], ['W'], "Instant", "", "XLN", "Uncommon", 7, 65973) Demystify = Card("demystify", "Demystify", ['W'], ['W'], "Instant", "", "XLN", "Common", 8, 65975) DuskborneSkymarcher = Card("duskborne_skymarcher", "Duskborne Skymarcher", ['W'], ['W'], "Creature", "Vampire Cleric", "XLN", "Uncommon", 9, 65977) EmissaryofSunrise = Card("emissary_of_sunrise", "Emissary of Sunrise", ['2', 'W'], ['W'], "Creature", "Human Cleric", "XLN",
""" WARNING! These cards are no longer in MTGA! This file is likely incorrect, and is left only for reference. """ import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect AerialModification = Card("aerial_modification", "Aerial Modification", ['4', 'W'], ['W'], "Enchantment", "Aura", "AER", "Uncommon", 1, 64213) AeronautAdmiral = Card("aeronaut_admiral", "Aeronaut Admiral", ['3', 'W'], ['W'], "Creature", "Human Pilot", "AER", "Uncommon", 2, 64207) AetherInspector = Card("aether_inspector", "Aether Inspector", ['3', 'W'], ['W'], "Creature", "Dwarf Artificer", "AER", "Common", 3, 64541) AethergeodeMiner = Card("aethergeode_miner", "Aethergeode Miner", ['1', 'W'], ['W'], "Creature", "Dwarf Scout", "AER", "Rare", 4, 64543) AirdropAeronauts = Card("airdrop_aeronauts", "Airdrop Aeronauts", ['3', 'W', 'W'], ['W'], "Creature", "Dwarf Scout", "AER", "Uncommon", 5, 64211) AlleyEvasion = Card("alley_evasion", "Alley Evasion", ['W'], ['W'], "Instant", "", "AER", "Common", 6, 64545) AudaciousInfiltrator = Card("audacious_infiltrator", "Audacious Infiltrator", ['1', 'W'], ['W'], "Creature", "Dwarf Rogue", "AER", "Common", 7, 64547) BastionEnforcer = Card("bastion_enforcer", "Bastion Enforcer", ['2', 'W'], ['W'], "Creature", "Dwarf Soldier", "AER", "Common", 8, 64187)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect AngelofSanctions = Card("angel_of_sanctions", "Angel of Sanctions", ['3', 'W', 'W'], ['W'], "Creature", "Angel", "AKH", "Mythic Rare", 1, 64801) AnointedProcession = Card("anointed_procession", "Anointed Procession", ['3', 'W'], ['W'], "Enchantment", "", "AKH", "Rare", 2, 64803) AnointerPriest = Card("anointer_priest", "Anointer Priest", ['1', 'W'], ['W'], "Creature", "Human Cleric", "AKH", "Common", 3, 64805) ApproachoftheSecondSun = Card("approach_of_the_second_sun", "Approach of the Second Sun", ['6', 'W'], ['W'], "Sorcery", "", "AKH", "Rare", 4, 64807) AvenMindcensor = Card("aven_mindcensor", "Aven Mindcensor", ['2', 'W'], ['W'], "Creature", "Bird Wizard", "AKH", "Rare", 5, 64809) BindingMummy = Card("binding_mummy", "Binding Mummy", ['1', 'W'], ['W'], "Creature", "Zombie", "AKH", "Common", 6, 64811) CartoucheofSolidarity = Card("cartouche_of_solidarity", "Cartouche of Solidarity", ['W'], ['W'], "Enchantment", "Aura Cartouche", "AKH", "Common", 7, 64813) CastOut = Card("cast_out", "Cast Out", ['3', 'W'], ['W'], "Enchantment", "", "AKH", "Uncommon", 8, 64815) CompulsoryRest = Card("compulsory_rest", "Compulsory Rest", ['1', 'W'], ['W'], "Enchantment", "Aura", "AKH", "Common", 9, 64817) DevotedCropMate = Card("devoted_cropmate", "Devoted Crop-Mate", ['2', 'W'], ['W'], "Creature", "Human Warrior", "AKH", "Uncommon", 10, 64819)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect Plains = Card(name="plains", pretty_name="Plains", cost=[], color_identity=['W'], card_type="Land", sub_types="Plains", abilities=[], set_id="AKH", rarity="Basic", collectible=True, set_number=256, mtga_id=65363) Island = Card(name="island", pretty_name="Island", cost=[], color_identity=['U'], card_type="Land", sub_types="Island", abilities=[], set_id="AKH", rarity="Basic", collectible=True, set_number=258, mtga_id=65369) Swamp = Card(name="swamp", pretty_name="Swamp",
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect BlindingRadiance = Card(name="blinding_radiance", pretty_name="Blinding Radiance", cost=['2', 'W'], color_identity=['W'], card_type="Sorcery", sub_types="", abilities=[121583], set_id="ANA", rarity="Uncommon", collectible=False, set_number=2, mtga_id=68766) SpiritualGuardian = Card(name="spiritual_guardian", pretty_name="Spiritual Guardian", cost=['3', 'W', 'W'], color_identity=['W'], card_type="Creature", sub_types="Spirit", abilities=[88604], set_id="ANA", rarity="Common", collectible=True, set_number=11, mtga_id=68767) TacticalAdvantage = Card(name="tactical_advantage", pretty_name="Tactical Advantage", cost=['W'], color_identity=['W'], card_type="Instant", sub_types="", abilities=[121584], set_id="ANA", rarity="Common", collectible=True, set_number=12, mtga_id=68769) FeralRoar = Card(name="feral_roar", pretty_name="Feral Roar", cost=['1', 'G'], color_identity=['G'], card_type="Sorcery", sub_types="", abilities=[1031], set_id="ANA", rarity="Common", collectible=False, set_number=46, mtga_id=68771) ShorecomberCrab = Card(name="shorecomber_crab", pretty_name="Shorecomber Crab", cost=['U'], color_identity=['U'], card_type="Creature", sub_types="Crab", abilities=[], set_id="ANA", rarity="Common", collectible=False, set_number=18, mtga_id=68772) GoblinBruiser = Card(name="goblin_bruiser", pretty_name="Goblin Bruiser", cost=['1', 'R', 'R'], color_identity=['R'], card_type="Creature", sub_types="Goblin Warrior", abilities=[], set_id="ANA", rarity="Uncommon", collectible=False, set_number=39, mtga_id=68773)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect AllThatGlitters = Card(name="all_that_glitters", pretty_name="All That Glitters", cost=['1', 'W'], color_identity=['W'], card_type="Enchantment", sub_types="Aura", abilities=[1027, 136335], set_id="ELD", rarity="Uncommon", collectible=True, set_number=2, mtga_id=70149) ShiningArmor = Card(name="shining_armor", pretty_name="Shining Armor", cost=['1', 'W'], color_identity=['W'], card_type="Artifact", sub_types="Equipment", abilities=[7, 136241, 7610, 1156], set_id="ELD", rarity="Common", collectible=True, set_number=29, mtga_id=70176) VenerableKnight = Card(name="venerable_knight", pretty_name="Venerable Knight", cost=['W'], color_identity=['W'], card_type="Creature", sub_types="Human Knight", abilities=[136079], set_id="ELD", rarity="Uncommon", collectible=True, set_number=35, mtga_id=70182) AnimatingFaerie = Card(name="animating_faerie", pretty_name="Animating Faerie", cost=['2', 'U'], color_identity=['U'], card_type="Creature", sub_types="Faerie", abilities=[8], set_id="ELD", rarity="Uncommon", collectible=True, set_number=38, mtga_id=70185) CorridorMonitor = Card(name="corridor_monitor", pretty_name="Corridor Monitor", cost=['1', 'U'], color_identity=['U'], card_type="Artifact Creature", sub_types="Construct", abilities=[136084], set_id="ELD", rarity="Common", collectible=True, set_number=41, mtga_id=70188) FaerieVandal = Card(name="faerie_vandal", pretty_name="Faerie Vandal", cost=['1', 'U'], color_identity=['U'], card_type="Creature", sub_types="Faerie Rogue", abilities=[7, 8, 136108], set_id="ELD", rarity="Uncommon", collectible=True, set_number=45, mtga_id=70192)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect Plains = Card(name="plains", pretty_name="Plains", cost=[], color_identity=['W'], card_type="Land", sub_types="Plains", abilities=[], set_id="ROE", rarity="Basic", collectible=True, set_number=229, mtga_id=36786) Mountain = Card(name="mountain", pretty_name="Mountain", cost=[], color_identity=['R'], card_type="Land", sub_types="Mountain", abilities=[], set_id="ROE", rarity="Basic", collectible=True, set_number=242, mtga_id=36788) Forest = Card(name="forest", pretty_name="Forest",
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])
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))
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect Forest = Card(name="forest", pretty_name="Forest", cost=[], color_identity=['G'], card_type="Land", sub_types="Forest", abilities=[], set_id="MI", rarity="Basic", collectible=True, set_number=0, mtga_id=6993) Island = Card(name="island", pretty_name="Island", cost=[], color_identity=['U'], card_type="Land", sub_types="Island", abilities=[], set_id="MI", rarity="Basic", collectible=True, set_number=0, mtga_id=7065) Mountain = Card(name="mountain", pretty_name="Mountain",
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect FactoryofMomirVig = Card(name="factory_of_momir_vig", pretty_name="Factory of Momir Vig", cost=[], color_identity=[], card_type="Artifact", sub_types="", abilities=[121336], set_id="ARENASUP", rarity="Mythic Rare", collectible=False, set_number=1, mtga_id=68326) MaelstromNexusEmblem = Card(name="maelstrom_nexus_emblem", pretty_name="Maelstrom Nexus Emblem", cost=[], color_identity=[], card_type="Artifact", sub_types="", abilities=[133330], set_id="ARENASUP", rarity="Mythic Rare", collectible=False, set_number=1, mtga_id=69746) OmniscienceEmblem = Card(name="omniscience_emblem", pretty_name="Omniscience Emblem",
""" WARNING! These cards are no longer in MTGA! This file is likely incorrect, and is left only for reference. """ import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect DivineVerdict = Card("divine_verdict", "Divine Verdict", ['3', 'W'], ['W'], "Instant", "", "W17", "Common", 1, 68414) GlorySeeker = Card("glory_seeker", "Glory Seeker", ['1', 'W'], ['W'], "Creature", "Human Soldier", "W17", "Common", 2, 68415) SerraAngel = Card("serra_angel", "Serra Angel", ['3', 'W', 'W'], ['W'], "Creature", "Angel", "W17", "Uncommon", 3, 68416) StandingTroops = Card("standing_troops", "Standing Troops", ['2', 'W'], ['W'], "Creature", "Human Soldier", "W17", "Common", 4, 68417) StormfrontPegasus = Card("stormfront_pegasus", "Stormfront Pegasus", ['1', 'W'], ['W'], "Creature", "Pegasus", "W17", "Uncommon", 5, 68418) VictorysHerald = Card("victorys_herald", "Victory's Herald", ['3', 'W', 'W', 'W'], ['W'], "Creature", "Angel", "W17", "Rare", 6, 68419) AirElemental = Card("air_elemental", "Air Elemental", ['3', 'U', 'U'], ['U'], "Creature", "Elemental", "W17", "Uncommon", 7, 68420) CoralMerfolk = Card("coral_merfolk", "Coral Merfolk", ['1', 'U'], ['U'], "Creature", "Merfolk", "W17", "Common", 8, 68421) DragUnder = Card("drag_under", "Drag Under", ['2', 'U'], ['U'], "Sorcery", "", "W17", "Common", 9, 68422) Inspiration = Card("inspiration", "Inspiration", ['3', 'U'], ['U'], "Instant", "", "W17", "Common", 10, 68423) SleepParalysis = Card("sleep_paralysis", "Sleep Paralysis", ['3', 'U'], ['U'],
""" WARNING! These cards are no longer in MTGA! This file is likely incorrect, and is left only for reference. """ import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect ActofHeroism = Card("act_of_heroism", "Act of Heroism", ['1', 'W'], ['W'], "Instant", "", "HOU", "Common", 1, 65479) AdornedPouncer = Card("adorned_pouncer", "Adorned Pouncer", ['1', 'W'], ['W'], "Creature", "Cat", "HOU", "Rare", 2, 65481) AngelofCondemnation = Card("angel_of_condemnation", "Angel of Condemnation", ['2', 'W', 'W'], ['W'], "Creature", "Angel", "HOU", "Rare", 3, 65483) AngeloftheGodPharaoh = Card("angel_of_the_godpharaoh", "Angel of the God-Pharaoh", ['4', 'W', 'W'], ['W'], "Creature", "Angel", "HOU", "Uncommon", 4, 65485) AvenofEnduringHope = Card("aven_of_enduring_hope", "Aven of Enduring Hope", ['4', 'W'], ['W'], "Creature", "Bird Cleric", "HOU", "Common", 5, 65487) CrestedSunmare = Card("crested_sunmare", "Crested Sunmare", ['3', 'W', 'W'], ['W'], "Creature", "Horse", "HOU", "Mythic Rare", 6, 65489) DauntlessAven = Card("dauntless_aven", "Dauntless Aven", ['2', 'W'], ['W'], "Creature", "Bird Warrior", "HOU", "Common", 7, 65491) DesertsHold = Card("deserts_hold", "Desert's Hold", ['2', 'W'], ['W'], "Enchantment", "Aura", "HOU", "Uncommon", 8, 65493) # mixup start DisposalMummy = Card("disposal_mummy", "Disposal Mummy", ['2', 'W'], ['W'], "Creature", "Zombie Jackal", "HOU", "Common", 9, 65957)
import sys from mtga.models.card import Card from mtga.models.card_set import Set import inspect BafflingEnd = Card("baffling_end", "Baffling End", ['1', 'W'], ['W'], "Enchantment", "", "RIX", "Uncommon", 1, 66619) BishopofBinding = Card("bishop_of_binding", "Bishop of Binding", ['3', 'W'], ['W'], "Creature", "Vampire Cleric", "RIX", "Rare", 2, 66621) BlazingHope = Card("blazing_hope", "Blazing Hope", ['W'], ['W'], "Instant", "", "RIX", "Uncommon", 3, 66623) CleansingRay = Card("cleansing_ray", "Cleansing Ray", ['1', 'W'], ['W'], "Sorcery", "", "RIX", "Common", 4, 66625) DivineVerdict = Card("divine_verdict", "Divine Verdict", ['3', 'W'], ['W'], "Instant", "", "RIX", "Common", 5, 66627) EverdawnChampion = Card("everdawn_champion", "Everdawn Champion", ['1', 'W', 'W'], ['W'], "Creature", "Human Soldier", "RIX", "Uncommon", 6, 66629) ExultantSkymarcher = Card("exultant_skymarcher", "Exultant Skymarcher", ['1', 'W', 'W'], ['W'], "Creature", "Vampire Soldier", "RIX", "Common", 7, 66631) FamishedPaladin = Card("famished_paladin", "Famished Paladin", ['1', 'W'], ['W'], "Creature", "Vampire Knight", "RIX", "Uncommon", 8, 66633) ForerunneroftheLegion = Card("forerunner_of_the_legion", "Forerunner of the Legion", ['2', 'W'], ['W'], "Creature", "Vampire Knight", "RIX", "Uncommon", 9, 66635) ImperialCeratops = Card("imperial_ceratops", "Imperial Ceratops", ['4', 'W'], ['W'], "Creature", "Dinosaur", "RIX", "Uncommon", 10,