| Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0408_tagPlayerSummonNPCAppear.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/GameActor/PersonalEnemy.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Fight/MapTransferUtility.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Core/NetworkPackage/DTCFile/ServerPack/H04_Scene/DTC0408_tagPlayerSummonNPCAppear.cs
@@ -26,10 +26,13 @@ return; } if (_npcConfig.NPCType == (int)E_NpcType.PersonalEnemy) if (vNetData.PlayerID == PlayerDatas.Instance.PlayerId) { PersonalEnemy.Bind(vNetData); return; if (_npcConfig.NPCType == (int)E_NpcType.PersonalEnemy) { PersonalEnemy.Bind(vNetData); return; } } if (_npcConfig.NPCType == (int)E_NpcType.Collect) Fight/GameActor/PersonalEnemy.cs
@@ -11,9 +11,6 @@ public E_ActorGroup g; } public H0408_tagPlayerSummonNPCAppear data; public uint bindClientNpcSID = 0; private static Dictionary<uint, PersonalEnemy> m_Map = new Dictionary<uint, PersonalEnemy>(); public static Dictionary<uint, uint> m_CBinSdDict = new Dictionary<uint, uint>(); public static Dictionary<uint, uint> m_SBindCDict = new Dictionary<uint, uint>(); @@ -95,6 +92,11 @@ _npc.BornPos = _npc.Pos = _vaildPos; m_CBinSdDict[_npc.ServerInstID] = h0408.ObjID; m_SBindCDict[h0408.ObjID] = _npc.ServerInstID; _npc.ActorInfo.Hp = h0408.HP; _npc.ActorInfo.HpEx = h0408.HPEx; _npc.ActorInfo.MaxHp = h0408.MaxHP; _npc.ActorInfo.MaxHpEx = h0408.MaxHPEx; _npc.ActorInfo.moveSpeed = 500f / h0408.Speed; if (OnNpcAppear != null) { OnNpcAppear(_npc); Fight/MapTransferUtility.cs
@@ -815,7 +815,6 @@ private void MoveToExistNpc(int npcID, GActor npc) { GA_Hero _hero = PlayerDatas.Instance.hero; Debug.Log("11111111111111"); NPCConfig _config = NPCConfig.Get(npcID);