mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-30 18:43:55 -07:00
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);
|
setInfo.setProperty(xmlPropertyName, propertyValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// skip cards containing a star char in the collectors number
|
||||||
|
if (setInfo.getProperty("num").contains("★")) {
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
// special handling properties
|
// special handling properties
|
||||||
colors = card.value("colors").toStringList().join("");
|
colors = card.value("colors").toStringList().join("");
|
||||||
if (!colors.isEmpty())
|
if (!colors.isEmpty())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue