少年修仙传客户端代码仓库
client_linchunjie
2018-11-23 3d32ac1af3e03e7ed2f031f8b7646e783cf9e4cc
4709 【1.3】【前端】魔族法宝副本修改(新增多个小关卡)
2个文件已修改
30 ■■■■■ 已修改文件
System/MainInterfacePanel/HighSettingTip.cs 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/UI3DTreasureSelectStage.cs 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/HighSettingTip.cs
@@ -313,6 +313,11 @@
            {
                _model.currentCategory = TreasureCategory.Human;
            }
            else if (RedpointCenter.Instance.GetRedpointState(TreasureModel.CATEGORY_REDPOINTIDS[(int)TreasureCategory.Demon - 1])
                == RedPointState.Simple)
            {
                _model.currentCategory = TreasureCategory.Demon;
            }
            WindowCenter.Instance.Open<TreasureSelectWin>();
        }
System/Treasure/UI3DTreasureSelectStage.cs
@@ -572,6 +572,20 @@
                    return -skillUp_x.CompareTo(skillUp_y);
                }
            }
            TreasureDungeon treasureDungeonx;
            TreasureDungeon treasureDungeony;
            if (model.TryGetTreasureDungeon(x, out treasureDungeonx)
                && model.TryGetTreasureDungeon(y, out treasureDungeony))
            {
                bool redpointx = treasureDungeonx.challengeRedpoint.state == RedPointState.Simple;
                bool redpointy = treasureDungeony.challengeRedpoint.state == RedPointState.Simple;
                if (redpointx != redpointy)
                {
                    return -redpointx.CompareTo(redpointy);
                }
            }
            bool lock_x = treasure_x.state == TreasureState.Locked;
            bool lock_y = treasure_y.state == TreasureState.Locked;
            if (lock_x != lock_y)
@@ -706,6 +720,17 @@
                var _component = m_Treasures[currentCategory][presentSelectIndex];
                _component.PlayHighestShow();
            }
            else
            {
                TreasureDungeon treasureDungeon;
                if (model.TryGetTreasureDungeon(selectTreasure, out treasureDungeon))
                {
                    if (treasureDungeon.challengeRedpoint.state == RedPointState.Simple)
                    {
                        OnPointDownTreasure(selectTreasure);
                    }
                }
            }
            jumpTreasure = 0;
        }
        #endregion