| Fight/GameActor/GA_NpcCollect.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/GameActor/GA_NpcFunc.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Fight/GameActor/GA_NpcCollect.cs
@@ -125,13 +125,22 @@ } } public sealed override void RequestName() { base.RequestName(); if (m_ReplaceNpcID != -1) { m_HeadUpName.SetNPCName(m_ReplaceNpcID); } } protected override void OnInit(GameNetPackBasic package) { base.OnInit(package); if (m_ReplaceNpcID != -1) { NPCConfig _npcConfig = ConfigManager.Instance.GetTemplate<NPCConfig>(m_ReplaceNpcID); ActorInfo.PlayerName = _npcConfig.charName; RequestName(); } Fight/GameActor/GA_NpcFunc.cs
@@ -123,7 +123,7 @@ public sealed override void RequestLifeBar() { } public sealed override void ReleaseLifeBar() { } public sealed override void RequestName() public override void RequestName() { ReleaseName();