Correct level calculation, remove specials from tradeable low priority list
This commit is contained in:
parent
e2f89e9793
commit
e9cda90ff2
2 changed files with 7 additions and 6 deletions
11
colors.py
11
colors.py
|
@ -1014,7 +1014,7 @@ def indexgen():
|
|||
rank = "puma"
|
||||
elif len(cardlist) > 13500:
|
||||
rank = "chartreux"
|
||||
elif len(cardlist) > 13500:
|
||||
elif len(cardlist) > 13200:
|
||||
rank = "russian blue"
|
||||
elif len(cardlist) > 12900:
|
||||
rank = "panther"
|
||||
|
@ -2011,10 +2011,11 @@ def searchgen():
|
|||
precomma = False
|
||||
for card in cardlist:
|
||||
if card["priority"] == 3:
|
||||
if precomma:
|
||||
content.write(", ")
|
||||
content.write("'" + card["name"] + "'")
|
||||
precomma = True
|
||||
if card["colour"] != "special":
|
||||
if precomma:
|
||||
content.write(", ")
|
||||
content.write("'" + card["name"] + "'")
|
||||
precomma = True
|
||||
content.write("];\n const lpt = [")
|
||||
precomma = False
|
||||
for card in cardlist:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue