Merge pull request #221 from argonui/underworld-market-fix

Underworld Market: stop including permanent cards
This commit is contained in:
Chr1Z 2023-03-01 02:10:33 +01:00 committed by GitHub
commit 5adcadb1d6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -267,9 +267,7 @@ function handleUnderworldMarket(cardList, playerColor)
-- Underworld Market found
hasMarket = true
card.zone = "SetAside3"
elseif (card.metadata.traits ~= nil and string.find(card.metadata.traits, "Illicit", 1, true)
and card.metadata.bonded_to == nil
and not card.metadata.weakness) then
elseif card.metadata.traits ~= nil and string.find(card.metadata.traits, "Illicit", 1, true) and card.zone == "Deck" then
table.insert(illicitList, i)
end
end