This commit is contained in:
xiekaidong 2024-02-21 15:35:43 +08:00
parent b61151dc0b
commit 2cf8e25ced

View File

@ -339,9 +339,9 @@ function BattleBaseController:onLinkChange()
end end
local dmgElementTypeMap local dmgElementTypeMap
if not self:getCurActionUnitComp():getActiveSkillLimit() then
local aniSequence, influenceElementType, lineCount, elementTypeMap, linkElementType, effectGridMap, randomPosList = self:calculateCurElimination(true) local aniSequence, influenceElementType, lineCount, elementTypeMap, linkElementType, effectGridMap, randomPosList = self:calculateCurElimination(true)
dmgElementTypeMap = elementTypeMap dmgElementTypeMap = elementTypeMap
if not self:getCurActionUnitComp():getActiveSkillLimit() then
if randomPosList then if randomPosList then
for _, posId in ipairs(randomPosList) do for _, posId in ipairs(randomPosList) do
local gridEntity = self.battleData:getGridEntity(posId) local gridEntity = self.battleData:getGridEntity(posId)