diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index fffbe512..1079043d 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -1150,13 +1150,8 @@ function BattleController:setGridBreakCondition(gridMap, posId, condition) if not gridMap[posId] then gridMap[posId] = {} gridMap[posId][condition] = true - return true, true - end - if gridMap[posId][condition] then - return false end gridMap[posId][condition] = true - return true, false end function BattleController:tryShowSelectSkillComp(needDelay, onlyCommonSkill)