| | |
| | | }
|
| | | }
|
| | |
|
| | | if (_areaType == MapArea.E_Type.Neutral && _enter)
|
| | | if ((_areaType == MapArea.E_Type.Neutral || _areaType == MapArea.E_Type.Boss) && _enter)
|
| | | {
|
| | | WindowCenter.Instance.Open<NeutralMarkWin>();
|
| | | int mapID = PlayerDatas.Instance.baseData.MapID;
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | if ((_areaType == MapArea.E_Type.Boss && _enter) || (_areaType == MapArea.E_Type.Dazuo && _enter))
|
| | | if (_areaType == MapArea.E_Type.Boss && _enter)
|
| | | {
|
| | | if (Vector3.Distance(m_TaskAndTeamPanel.localPosition, TaskListTipAnchor1.localPosition) < 2 && ListBossMapId.Contains(PlayerDatas.Instance.baseData.MapID))
|
| | | {
|
| | |
| | | var inDungeon = IsDungeon();
|
| | | var isNeutralMap = GeneralConfig.Instance.neutralMaps.Contains(PlayerDatas.Instance.baseData.MapID);
|
| | |
|
| | | if ((_areaType == MapArea.E_Type.Boss && !_enter) || (_areaType == MapArea.E_Type.Dazuo && !_enter))
|
| | | if (_areaType == MapArea.E_Type.Boss && !_enter)
|
| | | {
|
| | | if (Vector3.Distance(CopyOfThePanel.position, CopyOfThePosition1.position) > 2 && !inDungeon && !isNeutralMap)
|
| | | {
|