updated time and delay

This commit is contained in:
dscarpac 2023-12-07 17:35:22 -06:00
parent ea2ebac453
commit 7cab1a5d73

View File

@ -27,9 +27,9 @@ function shortSupply(color)
return
end
-- discard cards, waiting 0.6 seconds between each discard to give players visiblity of the cards
-- discard cards, waiting 0.7 seconds between each discard to give players visiblity of the cards
broadcastToColor("Discarding top 10 cards for player color '" .. matColor .. "'.", color, "White")
for i = 1, 10 do
Wait.time(function() drawDeck.takeObject({ flip = true, position = { discardPos.x, 2 + 0.075 * i, discardPos.z } }) end, .6 * i)
Wait.time(function() drawDeck.takeObject({ flip = true, position = { discardPos.x, 2 + 0.075 * i, discardPos.z } }) end, .7 * (i - 1))
end
end