Oracle: skip cards with a star in the collectors' number (#3706)
* Oracle: skip cards with a star in the collectors' number * clangify
This commit is contained in:
parent
95d6efcdbf
commit
8f5bfd1f87
1 changed files with 5 additions and 0 deletions
|
@ -249,6 +249,11 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
|
|||
setInfo.setProperty(xmlPropertyName, propertyValue);
|
||||
}
|
||||
|
||||
// skip cards containing a star char in the collectors number
|
||||
if (setInfo.getProperty("num").contains("★")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
// special handling properties
|
||||
colors = card.value("colors").toStringList().join("");
|
||||
if (!colors.isEmpty())
|
||||
|
|
Loading…
Reference in a new issue