# Path: MTG/static_abilities.py
# class StaticAbilities(Enum):


import sys
import json
import pickle
from MTG import static_abilities
                ID = 'c' + str(card["multiverseid"])
            else:
                continue
                # ID = 'c' + str(card["id"])
            name = card["name"]
            characteristics = {'name': name}
            characteristics['text'] = card["text"] if "text" in card else ''
            characteristics['color'] = card["colorIdentity"] if "colorIdentity" in card else ''
            characteristics['mana_cost'] = (card["manaCost"].replace('{', '').replace('}', '')
                                            if "manaCost" in card else '')
            # types
            if "supertypes" in card:
                supertype = ('['
                             + ', '.join(['cardtype.SuperType.' + i.upper()
                                          for i in card["supertypes"]])
                             + ']')

            types = '[' + ', '.join(['cardtype.CardType.' + i.upper()
                                     for i in card["types"]]) + ']'

            if 'Creature' in card["types"]:
                characteristics['power'], characteristics['toughness'] = star_or_int(
                    card["power"]), star_or_int(card["toughness"])

            if "subtypes" in card:
                characteristics["subtype"] = card["subtypes"]

            # static abilities

            texts = characteristics['text'].replace(' ', '_')

# Path: MTG/static_abilities.py
# class StaticAbilities(Enum):


# Path: parser/parse_mtgjson.py
import sys
import json
import pickle
from MTG import static_abilities

                ID = 'c' + str(card["multiverseid"])
            else:
                continue
                # ID = 'c' + str(card["id"])
            name = card["name"]
            characteristics = {'name': name}
            characteristics['text'] = card["text"] if "text" in card else ''
            characteristics['color'] = card["colorIdentity"] if "colorIdentity" in card else ''
            characteristics['mana_cost'] = (card["manaCost"].replace('{', '').replace('}', '')
                                            if "manaCost" in card else '')
            # types
            if "supertypes" in card:
                supertype = ('['
                             + ', '.join(['cardtype.SuperType.' + i.upper()
                                          for i in card["supertypes"]])
                             + ']')

            types = '[' + ', '.join(['cardtype.CardType.' + i.upper()
                                     for i in card["types"]]) + ']'

            if 'Creature' in card["types"]:
                characteristics['power'], characteristics['toughness'] = star_or_int(
                    card["power"]), star_or_int(card["toughness"])

            if "subtypes" in card:
                characteristics["subtype"] = card["subtypes"]

            # static abilities

            texts = characteristics['text'].replace(' ', '_')

            for ability in static_abilities.StaticAbilities._member_names_: