skip duplicate nonpromos (#4097)
* consider cards with frameEffects promos * skip duplicates entirely all cards that are not "promo" or something like it will only retain the first copy instead of parsing all of them and keeping the last
This commit is contained in:
parent
02935be14f
commit
14fcb2e5d7
1 changed files with 3 additions and 0 deletions
|
@ -278,6 +278,9 @@ int OracleImporter::importCardsFromSet(CardSetPtr currentSet, const QList<QVaria
|
|||
|
||||
if (skipSpecialCards) {
|
||||
// skip promo cards if it's not the only print
|
||||
if (allNameProps.contains(name)) {
|
||||
continue;
|
||||
}
|
||||
if (getStringPropertyFromMap(card, "isPromo") == "true") {
|
||||
specialPromoCards.insert(name, cardVar);
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue