Merge pull request #499 from dscarpac/Short-Supply
Wait time between cards for Short Supply
This commit is contained in:
commit
c910617d28
@ -27,9 +27,9 @@ function shortSupply(color)
|
||||
return
|
||||
end
|
||||
|
||||
-- discard 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
|
||||
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, .7 * (i - 1))
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user