少年修仙传客户端代码仓库
client_Zxw
2018-12-12 a1ca7a84594a3e655e60ac508f28c03b1c380622
5426 【前端】【1.3】【1.3.100】娲皇2-8层的进入战力要求直接读副本助战表
1个文件已修改
21 ■■■■■ 已修改文件
System/MainInterfacePanel/PlayerMainDate.cs 21 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/PlayerMainDate.cs
@@ -24,6 +24,7 @@
    {
        get { return m_PlayerPackModel ?? (m_PlayerPackModel = ModelCenter.Instance.GetModel<PlayerPackModel>()); }
    }
    DungeonAssistModel assistModel { get { return ModelCenter.Instance.GetModel<DungeonAssistModel>(); } }
    //用于记录XP技能的信息
    public delegate void OnXpSkill();
    public static event OnXpSkill Event_XpSkill;
@@ -167,7 +168,25 @@
        string WaHuangHighestFloorStr= Config.Instance.Get<FuncConfigConfig>("WaHuangHighestFloor").Numerical1;
        WaHuangHighestFloor = int.Parse(WaHuangHighestFloorStr);
        ruinsTranscriptMapId = int.Parse(Config.Instance.Get<FuncConfigConfig>("SpRewardMapID").Numerical1);//娲皇地图ID
        WHYJPowerDic = ConfigParse.GetDic<int, int>(Config.Instance.Get<FuncConfigConfig>("WHFloorChoose").Numerical1);//娲皇战力
        WHYJPowerDic.Clear();
        for (int i = 0; i < 8; i++)
        {
            DungeonHelpBattleConfig Config = assistModel.GetHelpBattleConfig(51010,i);
            if (Config != null)
            {
                int type = i + 1;
                if (type == 1)
                {
                    WHYJPowerDic.Add(type, 0);
                }
                else
                {
                    WHYJPowerDic.Add(type, Config.RobotFightPower);
                }
            }
        }
       // WHYJPowerDic = ConfigParse.GetDic<int, int>(Config.Instance.Get<FuncConfigConfig>("WHFloorChoose").Numerical1);//娲皇战力
    }