|
|
|
@ -25,12 +25,11 @@ def searchgen():
|
|
|
|
|
mpt = []
|
|
|
|
|
lpt = []
|
|
|
|
|
for card in wantedcards:
|
|
|
|
|
if card[:-2] in variables.highpriority:
|
|
|
|
|
if tcgcore.priority(card[:-2]) == "high":
|
|
|
|
|
hpw.append(card)
|
|
|
|
|
elif card[:-2] in variables.medpriority:
|
|
|
|
|
elif tcgcore.priority(card[:-2]) == "medium":
|
|
|
|
|
mpw.append(card)
|
|
|
|
|
else:
|
|
|
|
|
if tcgcore.collecting(card[:-2]):
|
|
|
|
|
elif tcgcore.priority(card[:-2]) == "low":
|
|
|
|
|
lpw.append(card)
|
|
|
|
|
previouscard = ""
|
|
|
|
|
for card in tcgcore.ownedcards():
|
|
|
|
@ -40,10 +39,9 @@ def searchgen():
|
|
|
|
|
else:
|
|
|
|
|
if not tcgcore.deckmastered(card[:-2]):
|
|
|
|
|
if card in ownedcollecting:
|
|
|
|
|
if card[:-2] in variables.medpriority:
|
|
|
|
|
if tcgcore.priority(card[:-2]) == "medium":
|
|
|
|
|
hpt.append(card)
|
|
|
|
|
else:
|
|
|
|
|
if card[:-2] not in variables.highpriority:
|
|
|
|
|
elif tcgcore.priority(card[:-2]) == "low":
|
|
|
|
|
mpt.append(card)
|
|
|
|
|
else:
|
|
|
|
|
lpt.append(card)
|
|
|
|
|