diff --git a/lua/app/module/battle/controller/battle_base_controller.lua b/lua/app/module/battle/controller/battle_base_controller.lua index 5ca9e9d4..e14848c2 100644 --- a/lua/app/module/battle/controller/battle_base_controller.lua +++ b/lua/app/module/battle/controller/battle_base_controller.lua @@ -339,9 +339,9 @@ function BattleBaseController:onLinkChange() end local dmgElementTypeMap + local aniSequence, influenceElementType, lineCount, elementTypeMap, linkElementType, effectGridMap, randomPosList = self:calculateCurElimination(true) + dmgElementTypeMap = elementTypeMap if not self:getCurActionUnitComp():getActiveSkillLimit() then - local aniSequence, influenceElementType, lineCount, elementTypeMap, linkElementType, effectGridMap, randomPosList = self:calculateCurElimination(true) - dmgElementTypeMap = elementTypeMap if randomPosList then for _, posId in ipairs(randomPosList) do local gridEntity = self.battleData:getGridEntity(posId)