From d51624b93b74ce3dd109fcad9aa180725fc9892c Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Fri, 19 May 2023 20:00:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E5=AE=B9=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/userdata/hero/hero_entity.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/userdata/hero/hero_entity.lua b/lua/app/userdata/hero/hero_entity.lua index 92608019..9ca5cf43 100644 --- a/lua/app/userdata/hero/hero_entity.lua +++ b/lua/app/userdata/hero/hero_entity.lua @@ -262,7 +262,7 @@ function HeroEntity:getActiveTogueSkills() if id then table.insert(list, id) else - return + break end end From 1fcf0137e38eb61d76e7e80c5fa1839f89c5de37 Mon Sep 17 00:00:00 2001 From: xiekaidong Date: Fri, 19 May 2023 20:09:32 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=AD=BB=E5=B1=80=E9=97=AE=E9=A2=98?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lua/app/module/battle/controller/battle_controller.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/app/module/battle/controller/battle_controller.lua b/lua/app/module/battle/controller/battle_controller.lua index 6501cf6c..c0664058 100644 --- a/lua/app/module/battle/controller/battle_controller.lua +++ b/lua/app/module/battle/controller/battle_controller.lua @@ -1959,8 +1959,8 @@ function BattleController:getShuffleBoardInfo() else if entity:getSkillId() then haveSkill = true - add = entity:canLink() end + add = entity:canLink() end if add then table.insert(tempList, entity)