From 2cf8e25ced7be57d9f9ba8fd04cb860d9f4fc938 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Wed, 21 Feb 2024 15:35:43 +0800 Subject: [PATCH] fix --- lua/app/module/battle/controller/battle_base_controller.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)