| | |
| | | {
|
| | | //Debug.LogFormat(" |-- 这是一只活动boss");
|
| | | // 取得分线
|
| | | if (GeneralConfig.Instance.fairyGrabBossMapLines != null)
|
| | | if (GeneralDefine.fairyGrabBossMapLines != null)
|
| | | {
|
| | | _lineID = GeneralConfig.Instance.fairyGrabBossMapLines.ContainsKey(_npcLocation.mapId) ?
|
| | | GeneralConfig.Instance.fairyGrabBossMapLines[_npcLocation.mapId] : 0;
|
| | | _lineID = GeneralDefine.fairyGrabBossMapLines.ContainsKey(_npcLocation.mapId) ?
|
| | | GeneralDefine.fairyGrabBossMapLines[_npcLocation.mapId] : 0;
|
| | | // 如果当前处于不同的分线, 则下面的处理中,地图ID相同也切线
|
| | | if (_lineID != PlayerDatas.Instance.baseData.FBID)
|
| | | {
|
| | |
| | | DTC0428_tagPlayerRideHorse.Send_tagPlayerRideHorse(true);
|
| | | }
|
| | |
|
| | | float _chkDist = Mathf.Max(GeneralConfig.Instance.CloseNpcDist + _config.ModelRadius - 0.3f, 0);
|
| | | float _chkDist = Mathf.Max(GeneralDefine.CloseNpcDist + _config.ModelRadius - 0.3f, 0);
|
| | |
|
| | | if (_config.NPCType == (int)E_NpcType.OpenWorldMap)
|
| | | {
|
| | |
| | | }
|
| | | else if (_npcConfig.NPCType == (int)E_NpcType.Collect)
|
| | | {
|
| | | float _chkDist = GeneralConfig.Instance.CloseNpcDist + _npcConfig.ModelRadius + 0.3f;
|
| | | float _chkDist = GeneralDefine.CloseNpcDist + _npcConfig.ModelRadius + 0.3f;
|
| | | if (_chkDistSqrt <= Mathf.Pow(_chkDist, 2))
|
| | | {
|
| | | if (!UserInputHandler.isTouched
|
| | |
| | | }
|
| | | else
|
| | | {
|
| | | float _chkDist = GeneralConfig.Instance.CloseNpcDist + _npcConfig.ModelRadius + 0.3f;
|
| | | float _chkDist = GeneralDefine.CloseNpcDist + _npcConfig.ModelRadius + 0.3f;
|
| | | // 因为守护副本美术有挖洞, 洞太大了. 这里无法按照配置走,特殊处理
|
| | | if (_npcConfig.NPCID == 32504001)
|
| | | {
|