checking zone instead of metadata
This commit is contained in:
parent
1e1dff2261
commit
46bd6b0901
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user