Minor adjustment to importer handling

This commit is contained in:
Entrox-Licher 2023-10-13 23:53:02 -04:00
parent dfa2ad324f
commit 4ae50ae09e

View File

@ -354,11 +354,11 @@ function handleSpiritDeck(investigatorId, cardList, playerColor)
table.insert(cardList, moving) table.insert(cardList, moving)
end end
if #spritList < 10 then if #spritList < 10 then
printToAll("Jim's spirit deck must have 10 cards but the deck only has " .. #spritList .. printToAll("Jim's spirit deck must have 9 Ally assets but the deck only has " .. (#spritList - 1) ..
" Ally assets.", playerColor) " Ally assets.", playerColor)
elseif #spritList > 11 then elseif #spritList > 11 then
printToAll("Moved all " .. #spritList .. printToAll("Moved all " .. (#spritList - 1) ..
" Ally assets to the spirit deck, reduce it to 11.", playerColor) " Ally assets to the spirit deck, reduce it to 10 (including Vengeful Shade).", playerColor)
else else
printToAll("Built Jim's spirit deck", playerColor) printToAll("Built Jim's spirit deck", playerColor)
end end