You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scryfall recently added "Virtuous // Royal" (a token) as layout=flip breaking the previous clean division between "layouts that are playable" and "layouts that are not playable". This was what they suggested was the best way to determine if a card might be useful to us. Obviously we will have to check for banned as well as legal, but presumably tokens and things have some other value than legal/banned that mean we can ignore them.
The text was updated successfully, but these errors were encountered:
After much chat on the Scryfall discord we did this with:
- if p.get('type_line') == 'Card':
+ # Exclude "Card"s which is a whole group of weird things, and also any tokens that have a playable layout.
+ if re.search(r'\b(token|card)\b', p.get('type_line', ''), re.IGNORECASE):
continue
Scryfall recently added "Virtuous // Royal" (a token) as layout=flip breaking the previous clean division between "layouts that are playable" and "layouts that are not playable". This was what they suggested was the best way to determine if a card might be useful to us. Obviously we will have to check for banned as well as legal, but presumably tokens and things have some other value than legal/banned that mean we can ignore them.
The text was updated successfully, but these errors were encountered: