From 745646b06e53f9e0839a8b9df5d161421ffdd15b Mon Sep 17 00:00:00 2001 From: gaoxin Date: Fri, 22 Jan 2021 16:19:40 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=88=98=E6=96=97=E3=80=91=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=8E=B7=E5=8F=96=E5=90=84=E9=98=B5=E8=90=A5=E4=BC=A4?= =?UTF-8?q?=E5=AE=B3=E7=9A=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Battle/Logic/BattleLogic.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua index 762922e159..55cc0ab2c6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua @@ -95,6 +95,13 @@ function BattleLogic.Init(data, _userData, maxRound) end) end + +-- 获取双方所有血量 +function BattleLogic.GetAllDamage() + return allHeroDamage, allEnemyDamage +end + + -- 检测先手阵营 function BattleLogic.CheckFirstCamp() -- 默认我方先手