Skip to content

Commit

Permalink
mtgmatcher/filter; Add initial support to MB2
Browse files Browse the repository at this point in the history
  • Loading branch information
kodawah committed Aug 9, 2024
1 parent 13e6c7a commit 50e5b5d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mtgmatcher/filter.go
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ func filterPrintings(inCard *InputCard, editions []string) (printings []string)
if !(inCard.Contains("No PW Symbol") || inCard.Contains("No Symbol") || strings.Contains(inCard.Variation, "V.2")) {
continue
}
case "MB2":
if !inCard.Contains("Mystery Booster 2") {
continue
}
case "PLST":
// Check if there is an exact match in plain SLD
num := ExtractNumber(inCard.Variation)
Expand Down

0 comments on commit 50e5b5d

Please sign in to comment.