From 6f59974c33000fa05e43e929e0dd2f799b19d76f Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Tue, 30 May 2023 15:41:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/controller/battle_controller.lua | 5 ----- 1 file changed, 5 deletions(-) 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)