From dfa2ad324f64d2cdca51c4b151fd3b8ec3336206 Mon Sep 17 00:00:00 2001 From: Entrox-Licher Date: Fri, 13 Oct 2023 22:34:44 -0400 Subject: [PATCH] Fixed Importer issue --- src/arkhamdb/DeckImporterMain.ttslua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/arkhamdb/DeckImporterMain.ttslua b/src/arkhamdb/DeckImporterMain.ttslua index 7d253198..a5a0ed4b 100644 --- a/src/arkhamdb/DeckImporterMain.ttslua +++ b/src/arkhamdb/DeckImporterMain.ttslua @@ -333,10 +333,12 @@ function handleSpiritDeck(investigatorId, cardList, playerColor) if investigatorId == "02004-p" or investigatorId == "02004-pb" then -- Parallel Jim Culver local spritList = {} for i, card in ipairs(cardList) do - if card.metadata.id == "90053" or (card.metadata.type == "Asset" + if card.metadata.id == "90053" or ( + card.metadata.type == "Asset" and card.metadata.traits ~= nil and string.match(card.metadata.traits, "Ally") - and card.metadata.bonded_to == nil) then + and card.metadata.level ~= nil + and card.metadata.level < 3) then table.insert(spritList, i) end end