Wait time between cards for Short Supply
This commit is contained in:
parent
e762cf8d02
commit
ea2ebac453
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user