Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | if (PersonalEnemy.m_SBindCDict.ContainsKey(vNetData.ObjID))
|
| | | {
|
| | | _actor = GAMgr.Instance.GetBySID(PersonalEnemy.m_SBindCDict[vNetData.ObjID]);
|
| | | ClientSceneManager.Instance.lastDeadPos = _actor.Pos;
|
| | | GAMgr.Instance.ServerDie(_actor.ServerInstID);
|
| | | _actor.Die();
|
| | | GAMgr.Instance.DoDelayDie(_actor as GActorFight);
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | if (!PreFightMission.Instance.IsFinished() && skill.id == 190)
|
| | | if (skill == null || GA_Hero.s_MapSwitching)
|
| | | {
|
| | |
|
| | | }
|
| | | else
|
| | | {
|
| | | if (skill == null || GA_Hero.s_MapSwitching)
|
| | | {
|
| | | return;
|
| | | }
|
| | | return;
|
| | | }
|
| | |
|
| | | if (m_Hero.ActorInfo.serverDie)
|
| | |
| | | {
|
| | | ClientSceneManager.Instance.NpcDead(_clientNpc.belongEventID, _clientNpc, _clientNpc.NpcConfig.NPCID);
|
| | | }
|
| | |
|
| | | ClientSceneManager.Instance.lastDeadPos = _clientNpc.Pos;
|
| | | }
|
| | | // 前期战斗只发送石头人的
|
| | | //if (1000 == _target.NpcConfig.NPCID)
|
| | |
| | | } |
| | | } |
| | | |
| | | public Vector3 lastDeadPos { get; private set; } |
| | | public Vector3 lastDeadPos { get; set; } |
| | | |
| | | public void NpcDead(int eventID, GActor npc, int npcID) |
| | | { |