mirror of
https://github.com/Cockatrice/Magic-Spoiler.git
synced 2026-04-21 22:47:37 -05:00
Drop Old Masterpieces
This commit is contained in:
parent
997ef150a6
commit
eb4ef2a0c2
|
|
@ -913,6 +913,10 @@ def make_masterpieces(headers, AllSets, spoil):
|
|||
masterpieces2 = []
|
||||
for masterpiece in masterpieces:
|
||||
matched = False
|
||||
if headers['setname'] in AllSets:
|
||||
for oldMasterpiece in AllSets[headers['setname']]['cards']:
|
||||
if masterpiece['name'] == oldMasterpiece['name']:
|
||||
matched = True
|
||||
for set in AllSets:
|
||||
if not matched:
|
||||
for oldcard in AllSets[set]['cards']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user