'Rarity' property added to split cards in xml (#3102)
This commit is contained in:
parent
51eeac0541
commit
3426a6b201
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue