特效问题修复

This commit is contained in:
xiekaidong 2023-06-01 18:18:54 +08:00
parent 886a533bce
commit 143f67c2f3
2 changed files with 8 additions and 2 deletions

View File

@ -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,

View File

@ -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]
if not BattleConst.NO_EFFECT_GRID_SKILL_TYPE[skillEntity:getSkillType()] then
aniUnit.rangeList = skillEntity:getBoardRange()
aniUnit.randomPosList = randomPosList
end
break
end
end