Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | string _content = string.Format("DTC0608_tagNPCDie => S:{0} 死亡. 死亡原因: {1}, 杀死它的是: {2}", vNetData.ObjID, vNetData.Reason, vNetData.KillerID);
|
| | | RuntimeLogUtility.AddLog_Blue(_content, (uint)vNetData.ObjID);
|
| | | #endif
|
| | | GActor _actor = GAMgr.Instance.GetBySID(vNetData.ObjID);
|
| | | GActor _actor = null;
|
| | | if (PersonalEnemy.m_SBindCDict.ContainsKey(vNetData.ObjID))
|
| | | {
|
| | | _actor = GAMgr.Instance.GetBySID(PersonalEnemy.m_SBindCDict[vNetData.ObjID]);
|
| | | GAMgr.Instance.ServerDie(_actor.ServerInstID);
|
| | | _actor.Die();
|
| | | GAMgr.Instance.DoDelayDie(_actor as GActorFight);
|
| | | return;
|
| | | }
|
| | | else
|
| | | {
|
| | | _actor = GAMgr.Instance.GetBySID(vNetData.ObjID);
|
| | | }
|
| | |
|
| | | if (_actor == null)
|
| | | {
|