diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index 1079043d..60c35ba5 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -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 - elementTypeMap[elementType] = (elementTypeMap[elementType] or 0) + 1 + 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