bug修复

This commit is contained in:
xiekaidong 2023-04-27 14:23:22 +08:00
parent d62c7b8d54
commit 331eb9d3bd

View File

@ -84,6 +84,9 @@ function BattleGridEntity:isElmentTypeInvalid()
end
function BattleGridEntity:addAroundEliminationCount(boomType)
if self:getIsIdle() then
return false
end
local nextGridType = BattleConst.AROUND_ELIMINATION_TO_TYPE_COUNT[self.gridType]
if nextGridType then
local beforeGridtype = self:getGridType()