Excluded cards that are held
This commit is contained in:
parent
c1e93a4881
commit
60d567b75a
@ -2877,12 +2877,14 @@ function moveCardWithTokens(params)
|
|||||||
Wait.condition(
|
Wait.condition(
|
||||||
function() stopTokenTransformUpdating(card) end,
|
function() stopTokenTransformUpdating(card) end,
|
||||||
function()
|
function()
|
||||||
|
if card.held_by_color ~= nil then return true end
|
||||||
|
|
||||||
if card ~= nil and cardTokens[card] ~= nil and #cardTokens[card] ~= 0 then
|
if card ~= nil and cardTokens[card] ~= nil and #cardTokens[card] ~= 0 then
|
||||||
updateTokenTransform(card)
|
updateTokenTransform(card)
|
||||||
return card.resting and not card.isSmoothMoving()
|
return card.resting and not card.isSmoothMoving()
|
||||||
else
|
|
||||||
return true
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
return true
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user