| | |
| | |
|
| | | if (_target.ActorInfo.RealHp <= _hurtValue)
|
| | | {
|
| | | _target.KillerServerInstID = m_Hero.ServerInstID;
|
| | | _target.ActorInfo.serverDie = true;
|
| | | GAMgr.Instance.ServerDie(_target.ServerInstID);
|
| | | GAMgr.Instance.DoDelayDie(_target);
|
| | | if (_clientNpc.NpcConfig.AIType != 198)
|
| | | {
|
| | | _target.KillerServerInstID = m_Hero.ServerInstID;
|
| | | _target.ActorInfo.serverDie = true;
|
| | | GAMgr.Instance.ServerDie(_target.ServerInstID);
|
| | | GAMgr.Instance.DoDelayDie(_target);
|
| | |
|
| | | if (m_Hero.LockTarget == _target)
|
| | | {
|
| | | m_Hero.LockTarget = null;
|
| | | }
|
| | | if (m_Hero.SelectTarget == _target)
|
| | | {
|
| | | m_Hero.SelectTarget = null;
|
| | | }
|
| | | if (m_Hero.LockTarget == _target)
|
| | | {
|
| | | m_Hero.LockTarget = null;
|
| | | }
|
| | | if (m_Hero.SelectTarget == _target)
|
| | | {
|
| | | m_Hero.SelectTarget = null;
|
| | | }
|
| | |
|
| | | if (_clientNpc != null
|
| | | && _clientNpc.belongEventID != -1)
|
| | | {
|
| | | ClientSceneManager.Instance.NpcDead(_clientNpc.belongEventID, _clientNpc, _clientNpc.NpcConfig.NPCID);
|
| | | if (_clientNpc != null
|
| | | && _clientNpc.belongEventID != -1)
|
| | | {
|
| | | ClientSceneManager.Instance.NpcDead(_clientNpc.belongEventID, _clientNpc, _clientNpc.NpcConfig.NPCID);
|
| | | }
|
| | | }
|
| | | // 前期战斗只发送石头人的
|
| | | //if (1000 == _target.NpcConfig.NPCID)
|