bug修复

This commit is contained in:
xiekaidong 2023-08-28 11:11:04 +08:00
parent 787b04bfc7
commit d05cec484a

View File

@ -1446,11 +1446,11 @@ function BattleBaseController:dealGridBreak(posId, condition, time, breakedMap,
return return
end end
cell:setGridTypeIcon(entity:getBreakFlyToCharacterIcon()) cell:setGridTypeIcon(entity:getBreakFlyToCharacterIcon())
end
self:dealGridEdge(posId) self:dealGridEdge(posId)
end end
end end
end end
end
return isIdle return isIdle
end end
@ -1466,6 +1466,7 @@ function BattleBaseController:dealGridEdge(posId)
[BattleConst.BOARD_RANGE_TYPE.RIGHT] = BattleConst.BOARD_RANGE_TYPE.LEFT [BattleConst.BOARD_RANGE_TYPE.RIGHT] = BattleConst.BOARD_RANGE_TYPE.LEFT
} }
end end
for _, direction in ipairs(self.upDownLeftRightList) do for _, direction in ipairs(self.upDownLeftRightList) do
-- 周围的 -- 周围的
local aroundId = ModuleManager.BattleManager:getPosByDirection(posId, direction, self.battleData:getRowCount()) local aroundId = ModuleManager.BattleManager:getPosByDirection(posId, direction, self.battleData:getRowCount())