From 1a8a77f1adba1acccfc2efefcfbfeb103d6c0a6a Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Fri, 9 Aug 2024 16:44:07 +0200 Subject: [PATCH] mtgmatcher/filter; Add initial support to MB2 --- mtgmatcher/filter.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/mtgmatcher/filter.go b/mtgmatcher/filter.go index ea0bac72..cc119a2c 100644 --- a/mtgmatcher/filter.go +++ b/mtgmatcher/filter.go @@ -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)