mirror of
https://github.com/mwisnowski/mtg_python_deckbuilder.git
synced 2025-12-17 08:00:13 +01:00
Web + backend: propagate tag_mode (AND/OR) end-to-end; AND-mode overlap prioritization for creatures and theme spells; headless configs support tag_mode; add Scryfall attribution footer and configs UI indicators; minor polish. (#and-overlap-pass)
This commit is contained in:
parent
0f73a85a4e
commit
fd7fc01071
15 changed files with 1339 additions and 75 deletions
|
|
@ -281,6 +281,8 @@ class DeckBuilder(
|
|||
secondary_tag: Optional[str] = None
|
||||
tertiary_tag: Optional[str] = None
|
||||
selected_tags: List[str] = field(default_factory=list)
|
||||
# How to combine multiple selected tags when prioritizing cards: 'AND' or 'OR'
|
||||
tag_mode: str = 'AND'
|
||||
|
||||
# Future deck config placeholders
|
||||
color_identity: List[str] = field(default_factory=list) # raw list of color letters e.g. ['B','G']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue