bug修复
This commit is contained in:
parent
d348d13fcc
commit
fd2c150b19
@ -26,8 +26,8 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local succ = false
|
local succ = false
|
||||||
local newlist = table.shuffle(tempList)
|
tempList = table.shuffle(GFunc.getTable(tempList))
|
||||||
for _, posId in ipairs(newlist) do
|
for _, posId in ipairs(tempList) do
|
||||||
local gridEntity = gridEntities[posId]
|
local gridEntity = gridEntities[posId]
|
||||||
if gridEntity:isEmptyIdle() then
|
if gridEntity:isEmptyIdle() then
|
||||||
battleController.battleData:setGridType(posId, BattleConst.GRID_TYPE.JELLY)
|
battleController.battleData:setGridType(posId, BattleConst.GRID_TYPE.JELLY)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user