This commit is contained in:
xiekaidong 2023-05-19 20:55:41 +08:00
parent 9067a7ffa1
commit 4708ed1ae2
2 changed files with 2 additions and 0 deletions

View File

@ -469,6 +469,7 @@ function BattleController:takeGridEffect()
end
end
effectGrid = table.shuffle(effectGrid)
local availableEffectTypeMap
for _, entity in ipairs(effectGrid) do
local effectType = entity:getEffectType()

View File

@ -31,6 +31,7 @@ local function _crossSpread(entity, gridEntities, battleController, onlyCheck)
if gridEntity:isEmptyIdle() then
battleController.battleData:setGridType(posId, BattleConst.GRID_TYPE.JELLY)
succ = true
break
end
end