mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-03-21 17:54:59 -05:00
Fix Scryfall Basic Land Rarity to match mtgjson
This commit is contained in:
parent
36c4eb7540
commit
1a6dbebdb5
|
|
@ -102,6 +102,8 @@ def convert_scryfall(scryfall):
|
|||
card2['subtypes'] = cardsubtypes.split(' ')
|
||||
else:
|
||||
card2['subtypes'] = [cardsubtypes]
|
||||
if 'Basic Land' in card['type_line']:
|
||||
card2['rarity'] = "Basic Land"
|
||||
if 'Legendary' in card['type_line']:
|
||||
if card2.has_key('supertypes'):
|
||||
card2['supertypes'].append('Legendary')
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user