From d6d8590ce2189654ce60a4e7172072fb4b8cad05 Mon Sep 17 00:00:00 2001 From: wangzhenxing Date: Fri, 25 Dec 2020 15:40:13 +0900 Subject: [PATCH] =?UTF-8?q?[=E6=88=98=E6=96=97]=E4=BF=AE=E6=94=B9=E5=88=87?= =?UTF-8?q?=E7=A3=8B=E5=88=A4=E6=96=AD=E8=83=9C=E8=B4=9F=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua index 854da66381..374c983bec 100644 --- a/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua +++ b/Assets/ManagedResources/~Lua/Modules/Battle/Logic/BattleLogic.lua @@ -361,7 +361,7 @@ function BattleLogic.Update() return end if CurRound > MaxRound then - if BattleLogic.Type==9 or BattleLogic.Type== 0 then + if BattleLogic.Type==9 or BattleLogic.Type==17 then if allHeroDamage>allEnemyDamage then BattleLogic.BattleEnd(1) else