[Oracle] Change basic lands exception to regex to deal with snow basics.

Took 45 minutes
This commit is contained in:
Lukas Brübach 2026-05-22 20:34:30 +02:00
parent 8004d4f2d4
commit 9fce4db025

View file

@ -473,8 +473,8 @@ FormatRulesNameMap OracleImporter::createDefaultMagicFormats()
// Predefined common exceptions // Predefined common exceptions
CardCondition superTypeIsBasic; CardCondition superTypeIsBasic;
superTypeIsBasic.field = "type"; superTypeIsBasic.field = "type";
superTypeIsBasic.matchType = "contains"; superTypeIsBasic.matchType = "regex";
superTypeIsBasic.value = "Basic Land"; superTypeIsBasic.value = "^Basic(?:\\s+Snow)?\\s+Land";
ExceptionRule basicLands; ExceptionRule basicLands;
basicLands.conditions.append(superTypeIsBasic); basicLands.conditions.append(superTypeIsBasic);