From a1ca7a84594a3e655e60ac508f28c03b1c380622 Mon Sep 17 00:00:00 2001
From: client_Zxw <826696702@qq.com>
Date: 星期三, 12 十二月 2018 14:55:42 +0800
Subject: [PATCH] 5426 【前端】【1.3】【1.3.100】娲皇2-8层的进入战力要求直接读副本助战表
---
System/MainInterfacePanel/PlayerMainDate.cs | 21 ++++++++++++++++++++-
1 files changed, 20 insertions(+), 1 deletions(-)
diff --git a/System/MainInterfacePanel/PlayerMainDate.cs b/System/MainInterfacePanel/PlayerMainDate.cs
index 12ddcf8..5440842 100644
--- a/System/MainInterfacePanel/PlayerMainDate.cs
+++ b/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);//濞茬殗鎴樺姏
}
--
Gitblit v1.8.0