taw / magic-search-engine

Search engine for Magic cards
MIT License
47 stars 19 forks source link

Booster/2xm #188

Closed axxroytovu closed 1 year ago

axxroytovu commented 1 year ago

Add double masters VIP edition

axxroytovu commented 1 year ago

@taw Is there a better way to do fixed slots like this? I know it's not a common issue but it might come up again and this was annoying to build.

taw commented 1 year ago

A small change - I moved name handling out of the old place, just put name: header in yaml if the booster has a special name.

taw commented 1 year ago

For fixed slots, JOU does it this way:

  theros_gods:
    rawquery: "t:god b:theros"
    count: 15

This would almost work:

   foil_basics:
     rawquery: "e:2xm t:basic"
     count: 10

Except there's code to prevent getting multiples of card with the same name from the same sheet, and it would break it. That code is necessary for boosters to have realistic distribution of draft commons.

In BBD I did it the painful way too.

axxroytovu commented 1 year ago

A small change - I moved name handling out of the old place, just put name: header in yaml if the booster has a special name.

Fixed