bug修复

This commit is contained in:
xiekaidong 2023-05-31 16:43:46 +08:00
parent 85688b535c
commit 10bd5a422d

View File

@ -1018,7 +1018,9 @@ function BattleController:calculateCurElimination(onlyCheck)
local elementType = entity:getElementType()
if not info.noAni and info.isIdle then
if not info.isSkill then
if not entity:isElmentTypeInvalid() then
elementTypeMap[elementType] = (elementTypeMap[elementType] or 0) + 1
end
if boomGridIds[info.posId] and boomGridIds[info.posId][GRID_BREAK_CONDITION.LINE] then
lineCount = lineCount + 1
linkElementType = elementType