From 10ca9daa8cbd54658924e3863752808b8251f0e7 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 16 十月 2025 16:22:29 +0800
Subject: [PATCH] 125 战斗 无法快速结束战斗的问题修复

---
 Main/System/Team/TeamHero.cs |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/Main/System/Team/TeamHero.cs b/Main/System/Team/TeamHero.cs
index 5949d96..30065a2 100644
--- a/Main/System/Team/TeamHero.cs
+++ b/Main/System/Team/TeamHero.cs
@@ -62,6 +62,15 @@
             throw new System.Exception("hero id and skin id are both invalid, npc id is invalid too (all <= 0)");
         }
 
+        if (fightObj.NPCID > 0)
+        {
+            NPCConfig npcConfig = NPCConfig.Get((int)fightObj.NPCID);
+            if (null != npcConfig)
+            {
+                modelScale = npcConfig.ModelScale;
+            }
+        }
+
         level = (int)fightObj.LV;
 
         skinConfig = HeroSkinConfig.Get(SkinID);

--
Gitblit v1.8.0