From 5c10580a5b352b9a0b417af63f7d88355fcb32a4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期一, 27 十月 2025 18:37:30 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/Team/TeamBase.cs |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/Main/System/Team/TeamBase.cs b/Main/System/Team/TeamBase.cs
index 522db83..13f0f91 100644
--- a/Main/System/Team/TeamBase.cs
+++ b/Main/System/Team/TeamBase.cs
@@ -40,8 +40,13 @@
     }
 
     //  杩欒竟鏉ョ殑鍙互娌℃湁闃熶紞绫诲瀷
-    public TeamBase(HB424_tagSCTurnFightInit.tagSCTurnFightLineup lineUp)
+    public TeamBase(HB424_tagSCTurnFightInit.tagSCTurnFightLineup lineUp, bool isBoss = false)
     {
+        if (isBoss)
+        {
+            tempHeroes = new TeamHero[TeamConst.MaxTeamSlotCount];
+            serverHeroes = new TeamHero[TeamConst.MaxTeamSlotCount];
+        }
         teamIndex = lineUp.Num;
         playerId = lineUp.OwnerID;
         ShapeType = lineUp.ShapeType;

--
Gitblit v1.8.0