2958 【1.5.200】选中跨服boss、采集跨服宝箱时退出跨服,自动战斗异常
| | |
| | | Vector3 _dir;
|
| | | float _radius = 0.5f;
|
| | | GActorFight _fight = m_Hero.LockTarget as GActorFight;
|
| | | if (m_Hero.LockTarget != null && _fight.CanAtked())
|
| | | if (_fight != null && _fight.CanAtked())
|
| | | {
|
| | | GActorNpcFight _npcFight = m_Hero.LockTarget as GActorNpcFight;
|
| | | if (_npcFight != null)
|
| | |
| | | else if (m_Hero.SelectTarget != null)
|
| | | {
|
| | | GActorNpcFight _npcFight = m_Hero.SelectTarget as GActorNpcFight;
|
| | | if (_npcFight != null)
|
| | | if (_npcFight != null && _fight.CanAtked())
|
| | | {
|
| | | _radius = _npcFight.NpcConfig.ModelRadius;
|
| | | }
|