mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-17 15:32:11 -08:00
'Rarity' property added to split cards in xml (#3102)
This commit is contained in:
@@ -278,6 +278,10 @@ int OracleImporter::importTextSpoiler(CardSetPtr set, const QVariant &data)
|
||||
if (setNumber.isEmpty())
|
||||
setNumber = map.value("number").toString();
|
||||
}
|
||||
if (map.contains("rarity")) {
|
||||
if (rarity.isEmpty())
|
||||
rarity = map.value("rarity").toString();
|
||||
}
|
||||
|
||||
extractColors(map.value("colors").toStringList(), colors);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user