mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-06 05:23:56 -07:00
[Oracle] Change basic lands exception to regex to deal with snow basics.
Took 45 minutes
This commit is contained in:
parent
8004d4f2d4
commit
9fce4db025
1 changed files with 2 additions and 2 deletions
|
|
@ -473,8 +473,8 @@ FormatRulesNameMap OracleImporter::createDefaultMagicFormats()
|
|||
// Predefined common exceptions
|
||||
CardCondition superTypeIsBasic;
|
||||
superTypeIsBasic.field = "type";
|
||||
superTypeIsBasic.matchType = "contains";
|
||||
superTypeIsBasic.value = "Basic Land";
|
||||
superTypeIsBasic.matchType = "regex";
|
||||
superTypeIsBasic.value = "^Basic(?:\\s+Snow)?\\s+Land";
|
||||
|
||||
ExceptionRule basicLands;
|
||||
basicLands.conditions.append(superTypeIsBasic);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue