mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 10:04:46 -07:00
[Oracle] Change basic lands exception to regex to deal with snow basics. (#6931)
* [Oracle] Change basic lands exception to regex to deal with snow basics. Took 45 minutes * Update oracle/src/oracleimporter.cpp Co-authored-by: ebbit1q <ebbit1q@gmail.com> --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de> Co-authored-by: ebbit1q <ebbit1q@gmail.com>
This commit is contained in:
parent
8004d4f2d4
commit
d2164c3f08
1 changed files with 2 additions and 2 deletions
|
|
@ -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 = "\bBasic\b[^—]+\bLand\b";
|
||||||
|
|
||||||
ExceptionRule basicLands;
|
ExceptionRule basicLands;
|
||||||
basicLands.conditions.append(superTypeIsBasic);
|
basicLands.conditions.append(superTypeIsBasic);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue