Wait time between cards for Short Supply

This commit is contained in:
dscarpac 2023-12-07 15:26:37 -06:00
parent e762cf8d02
commit ea2ebac453

View File

@ -27,9 +27,9 @@ function shortSupply(color)
return
end
-- discard cards
-- discard cards, waiting 0.6 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
drawDeck.takeObject({ flip = true, position = { discardPos.x, 2 + 0.075 * i, discardPos.z } })
Wait.time(function() drawDeck.takeObject({ flip = true, position = { discardPos.x, 2 + 0.075 * i, discardPos.z } }) end, .6 * i)
end
end