少年修仙传客户端代码仓库
client_linchunjie
2018-08-28 b1c2cac0c5318996dfa6a83d9c47cd14e9e2e88b
2960 抢Boss活动
4个文件已修改
18 ■■■■ 已修改文件
Core/GameEngine/Model/Config/BossInfoConfig.cs 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/BossInfoConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/FairyAu/FairyGrabBossWin.cs 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/GeneralConfig/GeneralConfig.cs 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/BossInfoConfig.cs
@@ -13,7 +13,8 @@
        public int NPCID { get ; private set ; }
        public int MapID { get ; private set ; }
        public int LineID { get ; private set ; }
        public int RelatedType { get ; private set ; }
        public int RelatedID { get ; private set ; }
        public int StoneNPCID { get ; private set ; }
        public override string getKey()
@@ -28,9 +29,11 @@
            
                MapID=IsNumeric(rawContents[1]) ? int.Parse(rawContents[1]):0; 
            
                LineID=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
                RelatedType=IsNumeric(rawContents[2]) ? int.Parse(rawContents[2]):0;
            
                StoneNPCID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
                RelatedID=IsNumeric(rawContents[3]) ? int.Parse(rawContents[3]):0;
                StoneNPCID=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0;
            }
            catch (Exception ex)
            {
Core/GameEngine/Model/Config/BossInfoConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: fd079b12ba8134442adceeacd5b31101
timeCreated: 1535438861
timeCreated: 1535441070
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/FairyAu/FairyGrabBossWin.cs
@@ -24,6 +24,8 @@
        FairyGrabBossModel model { get { return ModelCenter.Instance.GetModel<FairyGrabBossModel>(); } }
        DungeonModel dungeonModel { get { return ModelCenter.Instance.GetModel<DungeonModel>(); } }
        BossHomeModel bossHomeModel { get { return ModelCenter.Instance.GetModel<BossHomeModel>(); } }
        FindPreciousModel findPreciousModel { get { return ModelCenter.Instance.GetModel<FindPreciousModel>(); } }
        #region Built-in
        protected override void BindController()
        {
@@ -234,6 +236,8 @@
        private void KillRecord()
        {
            findPreciousModel.ViewKillRecordsBoss = model.selectBoss;
            WindowCenter.Instance.Open<KillRecordsWin>();
        }
        private void SecondEvent()
System/GeneralConfig/GeneralConfig.cs
@@ -128,6 +128,7 @@
    public Dictionary<int, int> dungeonRebornClientTimes { get; private set; }
    public int[] CompareEquipPlaces { get; private set;}
    public Dictionary<int,int> fairyGrabBossMapLines { get; private set; }
    public void Init()
    {
@@ -434,6 +435,8 @@
            dungeonCanUseMoneyIds = new List<int>(GetIntArray("FBEnterTickeyAuto", 1));
            dungeonRebornClientTimes = ConfigParse.GetDic<int, int>(GetInputString("DuplicatesRebornTime", 2));
            fairyGrabBossMapLines = ConfigParse.GetDic<int, int>(GetInputString("MapLine", 2));
        }
        catch (Exception ex)
        {