From 43fdcb0d6eaa686ac08c28eded66b3705f6375ac Mon Sep 17 00:00:00 2001
From: client_Hale <339726288@qq.com>
Date: 星期一, 13 八月 2018 20:17:27 +0800
Subject: [PATCH] fixed #1918 【前端】NPC境界与飘血 ,前期战斗功能NPC境界读取配置

---
 Fight/GameActor/GA_NpcClientFunc.cs |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/Fight/GameActor/GA_NpcClientFunc.cs b/Fight/GameActor/GA_NpcClientFunc.cs
index 8741570..f59ebb5 100644
--- a/Fight/GameActor/GA_NpcClientFunc.cs
+++ b/Fight/GameActor/GA_NpcClientFunc.cs
@@ -100,7 +100,14 @@
 
         m_HeadUpName = HeadUpName.RequireHeadUpName(_pattern, MP_Name, 0, CameraController.Instance.CameraObject);
 
-        m_HeadUpName.SetNPCName(ActorInfo.PlayerName);
+        if (NpcConfig.NPCID == 1006)
+        {
+            m_HeadUpName.SetNPCName(1007);
+        }
+        else
+        {
+            m_HeadUpName.SetNPCName(NpcConfig.NPCID);
+        }
 
     }
 

--
Gitblit v1.8.0