少年修仙传客户端代码仓库
client_Hale
2018-08-27 6149e7ca1c3351a906d8560747c8862f4f12479c
Fixed #1708 新旧号切换造成新手流程卡住
2个文件已修改
33 ■■■■ 已修改文件
Fight/PreFightMission.cs 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/MainInterfaceWin.cs 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Fight/PreFightMission.cs
@@ -917,6 +917,8 @@
    private IEnumerator LookNpcBorn()
    {
        GA_Hero.s_MapSwitching = true;
        // 摄像机移动至石头人出现区域
        CameraController.Instance.SetLookTarget(null);
        CameraController.Instance.transform.position = PlayerDatas.Instance.hero.Pos;
@@ -940,11 +942,13 @@
        // 回到玩家身上
        CameraController.Instance.SetLookTarget(PlayerDatas.Instance.hero.Root);
        yield return WaitingForSecondConst.WaitMS500;
        // 显示任务界面
        Transform _temp = WindowCenter.Instance.uiRoot.baseCanvas.Find("MainInterfaceWin/TaskAndTeamTip/TaskListTip");
        _temp.gameObject.SetActive(true);
        WindowCenter.Instance.Get<MainInterfaceWin>().ForceShowTaskPanel();
        yield return WaitingForSecondConst.WaitMS500;
        // 打开引导界面
        NewGuideModel _model2 = ModelCenter.Instance.GetModel<NewGuideModel>();
@@ -1438,7 +1442,7 @@
        _temp = WindowCenter.Instance.uiRoot.baseCanvas.Find("MainInterfaceWin/CopyOfThePanel/HighSettingTip/Container_Treasure");
        _temp.gameObject.SetActive(true);
        _temp = WindowCenter.Instance.uiRoot.baseCanvas.Find("MainInterfaceWin/InGameDownLoadProgress");
        _temp.localScale = Vector3.one;
System/MainInterfacePanel/MainInterfaceWin.cs
@@ -238,7 +238,7 @@
        }
        protected override void OnAfterOpen()
        {
        {
            bool IsBossBool = PlayerDatas.Instance.hero != null && MapArea.IsInMapArea(PlayerDatas.Instance.hero.CurMapArea, MapArea.E_Type.Boss);//是否在Boss区域
            if (onMainModel.IsDead || (onMainModel.IsBossAreaTask && !IsBossBool))
            {
@@ -286,7 +286,7 @@
                }
            }
            else
            {
            {
                var isNeutralMap = GeneralConfig.Instance.neutralMaps.Contains(PlayerDatas.Instance.baseData.MapID);
                if (isNeutralMap)
@@ -448,7 +448,7 @@
        private void OnEnterOrExitArea(MapArea.E_Type _areaType, bool _enter)
        {
           // DesignDebug.LogError(_areaType + ".." + _enter);
            // DesignDebug.LogError(_areaType + ".." + _enter);
            if (PlayerDatas.Instance.baseData.MapID == 10040 && _areaType != MapArea.E_Type.Boss && _enter)
            {
                if (Buffmodel.PkType != onMainModel.AreaState)
@@ -653,7 +653,7 @@
            if (!recordPositionBool)
            {
                if (inDungeon || IsBossBool || isNeutralMap)
                {
                {
                    if (IsCopyOfThePanel != null)
                    {
                        IsCopyOfThePanel(false);
@@ -664,12 +664,12 @@
                    }
                    CopyOfThePanel.DOLocalMoveY(CopyOfThePosition2.localPosition.y, CopyOfThePanelSpeed);
                    m_ContainerBossList.DOLocalMoveY(CopyOfThePosition1.localPosition.y, CopyOfThePanelSpeed);
                    m_BossBriefInfos.Unfold(false);
                    m_BossBriefInfos.Unfold(false);
                }
                if (!IsBossBool)
                {
                    if (Vector3.Distance(CopyOfThePanel.position, CopyOfThePosition1.position) > 2 && !inDungeon)
                    {
                    {
                        if (IsCopyOfThePanel != null)
                        {
                            IsCopyOfThePanel(true);
@@ -814,6 +814,17 @@
            recordPositionBool = !recordPositionBool;
        }
        // 前期战斗用强制设置任务位置逻辑
        public void ForceShowTaskPanel()
        {
            if (onMainModel.IsBossAreaTask)
            {
                onMainModel.IsBossAreaTask = false;
            }
            m_TaskAndTeamPanel.localPosition = TaskListTipAnchor1.localPosition;
            TaskSwithBool = !TaskSwithBool;
        }
        void ArticleExperience()//关于经验条
        {
            int NowLv = (int)PlayerDatas.Instance.baseData.LV;