From e34b3df0aa31ae1a3bcf7d971c20fd23b16cd201 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Thu, 20 Apr 2023 21:28:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=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 | 3 --- 1 file changed, 3 deletions(-) diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index 0172aa6e..54bc2976 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -1270,7 +1270,6 @@ function BattleController:getRandomSkillList(getCount) end for elementType, list in pairs(skillPool) do - Logger.logHighlight(self.battleData:isUnlockedSkillElementType(elementType)) if self.battleData:isUnlockedSkillElementType(elementType) then for _, skillId in ipairs(list) do local skillCfg = cfg[skillId] @@ -1298,8 +1297,6 @@ function BattleController:getRandomSkillList(getCount) end end - Logger.printTable(newSkillPool) - if count > 0 then local index = GFunc.getRandomIndex(skillWeight) local skillId = table.remove(newSkillPool, index)