PDHdata / SmallFormats

Deck-stats server for less-common Magic: the Gathering formats
MIT License
6 stars 0 forks source link

Deck legality: rule 0 #42

Open vtbassmatt opened 1 year ago

vtbassmatt commented 1 year ago

The latest changes to deck legality eliminated some basically-valid but not strictly-legal decks (primarily helmed by planeswalkers). I was already musing on a acorn version of legality, but now I'm thinking about a fuller "include common rule-0 legality".

This probably looks like splitting up notion of is_pdh_legal on the Deck model. We can store attributes like legal_99, legal_commanders, planeswalker_commanders, acorn_cards, etc. instead. Then, we need to plumb that through into the main views on the site so that viewers can select their preferred level of rules adherence.