Fixed Importer issue
This commit is contained in:
parent
1629f790b3
commit
dfa2ad324f
@ -333,10 +333,12 @@ function handleSpiritDeck(investigatorId, cardList, playerColor)
|
|||||||
if investigatorId == "02004-p" or investigatorId == "02004-pb" then -- Parallel Jim Culver
|
if investigatorId == "02004-p" or investigatorId == "02004-pb" then -- Parallel Jim Culver
|
||||||
local spritList = {}
|
local spritList = {}
|
||||||
for i, card in ipairs(cardList) do
|
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 card.metadata.traits ~= nil
|
||||||
and string.match(card.metadata.traits, "Ally")
|
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)
|
table.insert(spritList, i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user