bug修复

This commit is contained in:
xiekaidong 2023-08-04 15:16:19 +08:00
parent 8266b13b9a
commit 13a137a6fd

View File

@ -2215,7 +2215,7 @@ function BattleBaseController:shuffleBoard(callback)
else
self.resetList = table.clearOrCreate(self.resetList)
for posId, entity in pairs(self.battleData:getGridEnties()) do
if self:getPosIdInCurActionBoardRowRange(posId) and entity:isCanFallStatus() then
if self:getPosIdInCurActionBoardRowRange(posId) and entity:isCanFallStatus() and not entity:getCantUpset() then
table.insert(self.resetList, entity)
end
end