Increased delay on deck shuffling
This commit is contained in:
parent
1621be3594
commit
755de77d7a
@ -163,12 +163,11 @@ function endSearch(_, _, isRightClick)
|
||||
|
||||
-- draw set aside cards (from the ground!)
|
||||
for _, obj in ipairs(searchLib.atPosition(setAsidePosition, "isCardOrDeck")) do
|
||||
local count = 1
|
||||
if obj.type == "Deck" then
|
||||
Wait.time(function() obj.deal(#obj.getObjects(), handColor) end, 1)
|
||||
elseif obj.type == "Card" then
|
||||
obj.setPosition(Player[handColor].getHandTransform().position)
|
||||
obj.flip()
|
||||
count = #obj.getObjects()
|
||||
end
|
||||
Wait.time(function() obj.deal(count, handColor) end, 1)
|
||||
end
|
||||
|
||||
normalView()
|
||||
@ -180,11 +179,11 @@ function endSearch(_, _, isRightClick)
|
||||
if deckAreaObjects.draw then
|
||||
deckAreaObjects.draw.shuffle()
|
||||
end
|
||||
end, (#handCards + 2.5) * 0.2)
|
||||
end, #handCards * 0.3 + 0.5)
|
||||
end
|
||||
|
||||
-- Norman Withers handling
|
||||
if topCardDetected then
|
||||
Wait.time(function() playmatApi.flipTopCardFromDeck(matColor) end, #handCards * 0.2)
|
||||
Wait.time(function() playmatApi.flipTopCardFromDeck(matColor) end, #handCards * 0.3 + 0.75)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user