bugfix and feedback
This commit is contained in:
parent
f464e5f0ff
commit
08936a7230
@ -27,6 +27,7 @@ function shortSupply(color)
|
||||
end
|
||||
|
||||
-- discard cards
|
||||
broadcastToColor("Discarding top 10 cards for player color '" .. matColor .. "'.", color, "White")
|
||||
discardPos.y = 0.5
|
||||
for i = 1, 10 do
|
||||
discardPos.y = discardPos.y + 0.05 * i
|
||||
|
@ -49,6 +49,7 @@ do
|
||||
else
|
||||
return "Red"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- Returns the draw deck of the requested playmat
|
||||
@ -122,7 +123,7 @@ do
|
||||
-- Convenience function to look up a mat's object by color, or get all mats.
|
||||
---@param matColor String for one of the active player colors - White, Orange, Green, Red. Also
|
||||
-- accepts "All" as a special value which will return all four mats.
|
||||
---@return Array of playermat objects. If a single mat is requested, will return a single-element
|
||||
---@return: Array of playermat objects. If a single mat is requested, will return a single-element
|
||||
-- array to simplify processing by consumers.
|
||||
internal.getMatForColor = function(matColor)
|
||||
local targetMatGuid = MAT_IDS[matColor]
|
||||
|
Loading…
Reference in New Issue
Block a user