Merge branch 'master' of http://192.168.0.87:10010/r/snxxz_scripts
| | |
| | | var _npc = _hero.SelectTarget as GA_NpcClientCollect; |
| | | var _checkDis = 0f; |
| | | |
| | | if (_npc == null) |
| | | if (_npc == null || !(_npc is GA_NpcClientCollect)) |
| | | { |
| | | var _list = GAMgr.Instance.GetTypeList(E_ActorClassType.NpcClientCollect); |
| | | if (_list != null) |
| | |
| | | |
| | | if (_npc != null) |
| | | { |
| | | if (_hero.SelectTarget == null) |
| | | if (_hero.SelectTarget == null || !(_hero.SelectTarget is GA_NpcClientCollect)) |
| | | { |
| | | _hero.SelectTarget = _npc; |
| | | } |
| | |
| | | var _npc = _hero.SelectTarget as GA_NpcCollect; |
| | | var _checkDis = 0f; |
| | | |
| | | if (_npc == null) |
| | | if (_npc == null || !(_npc is GA_NpcCollect)) |
| | | { |
| | | var _list = GAMgr.Instance.GetTypeList(E_ActorClassType.NpcCollect); |
| | | if (_list != null) |
| | |
| | | |
| | | if (_npc != null) |
| | | { |
| | | if (_hero.SelectTarget == null) |
| | | if (_hero.SelectTarget == null || !(_npc is GA_NpcCollect)) |
| | | { |
| | | _hero.SelectTarget = _npc; |
| | | } |