diff --git a/lua/app/module/battle/battle_const.lua b/lua/app/module/battle/battle_const.lua index 07bbffa5..ff266fa9 100644 --- a/lua/app/module/battle/battle_const.lua +++ b/lua/app/module/battle/battle_const.lua @@ -730,6 +730,10 @@ BattleConst.ATTACK_OVER_ACTIVE_SKILL_TYPE = { [BattleConst.SKILL_TYPE.CHANGE_ELEMENT_TYPE] = true, } +BattleConst.NO_EFFECT_GRID_SKILL_TYPE = { + [BattleConst.SKILL_TYPE.CHANGE_AROUND] = true +} + BattleConst.SKILL_METHOD_TYPE = { ON_ENTER = 1, ON_FINAL = 2, diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index 2d9fee35..3fda483c 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -1022,8 +1022,10 @@ function BattleController:calculateCurElimination(onlyCheck) if info.isSkill then randomPosList, influenceElementTypeMap = self:dealSkillElement(info.timeIdx + skillTime, self.breakedMap, self.sequenceMap, self.aniSequence, self.boomGridIds, onlyCheck) local aniUnit = self.aniSequence[i] - aniUnit.rangeList = skillEntity:getBoardRange() - aniUnit.randomPosList = randomPosList + if not BattleConst.NO_EFFECT_GRID_SKILL_TYPE[skillEntity:getSkillType()] then + aniUnit.rangeList = skillEntity:getBoardRange() + aniUnit.randomPosList = randomPosList + end break end end