Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev

This commit is contained in:
chenxi 2023-04-27 14:26:47 +08:00
commit da4704db1e

View File

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