diff --git a/scrython/cards/cards_object.py b/scrython/cards/cards_object.py index ffd3baa..7295b29 100644 --- a/scrython/cards/cards_object.py +++ b/scrython/cards/cards_object.py @@ -187,7 +187,9 @@ class CardsObject(FoundationObject): 'augment': lambda num: self.scryfallJson['image_uris'], 'host': lambda num: self.scryfallJson['image_uris'], 'adventure': lambda num: self.scryfallJson['image_uris'], - 'modal_dfc': lambda num: self.scryfallJson['card_faces'][num]['image_uris'] + 'modal_dfc': lambda num: self.scryfallJson['card_faces'][num]['image_uris'], + 'prototype': lambda num: self.scryfallJson['image_uris'], + 'case': lambda num: self.scryfallJson['image_uris'], } image_types = { @@ -199,7 +201,10 @@ class CardsObject(FoundationObject): 'border_crop': lambda d: d['border_crop'] } - images_dict = layouts.get(self.scryfallJson['layout']) + images_dict = layouts.get( + self.scryfallJson['layout'], + lambda num: self.scryfallJson['image_uris'], # Get default if missing + ) uri = image_types.get(image_type)