checking zone instead of metadata

This commit is contained in:
Chr1Z93 2023-03-01 02:03:10 +01:00
parent 1e1dff2261
commit 46bd6b0901

View File

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