随机位置
This commit is contained in:
parent
16c0078704
commit
d2eff9d230
@ -26,6 +26,7 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local succ = false
|
local succ = false
|
||||||
|
tempList = table.shuffle(tempList)
|
||||||
for _, posId in ipairs(tempList) do
|
for _, posId in ipairs(tempList) do
|
||||||
local gridEntity = gridEntities[posId]
|
local gridEntity = gridEntities[posId]
|
||||||
if gridEntity:isEmptyIdle() then
|
if gridEntity:isEmptyIdle() then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user