少年修仙传客户端代码仓库
client_linchunjie
2018-12-05 9e8d84ef5cf703d9e1f6663d11f3a0245771b629
5255 【前端】【1.3】【1.3.100】仙族法宝激活增加战力
4个文件已修改
12 ■■■■ 已修改文件
Core/GameEngine/Model/Config/TreasureUpConfig.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/TreasureUpConfig.cs.meta 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureData.cs 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/Treasure/TreasureModel.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Core/GameEngine/Model/Config/TreasureUpConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:            第二世界
//    [  Date ]:           Tuesday, September 18, 2018
//    [  Date ]:           Wednesday, December 05, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -21,6 +21,7 @@
        public int ActiveMWID { get ; private set ; }
        public string ItemAward { get ; private set; } 
        public int SoulID { get ; private set ; }
        public int PowerEx { get ; private set ; }
        public string DescriptionMainWin { get ; private set; } 
        public override string getKey()
@@ -56,7 +57,9 @@
            
                SoulID=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; 
            
                DescriptionMainWin = rawContents[10].Trim();
                PowerEx=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
                DescriptionMainWin = rawContents[11].Trim();
            }
            catch (Exception ex)
            {
Core/GameEngine/Model/Config/TreasureUpConfig.cs.meta
@@ -1,6 +1,6 @@
fileFormatVersion: 2
guid: 882666fd713678849aebb360643bfe19
timeCreated: 1537237919
timeCreated: 1544000085
licenseType: Pro
MonoImporter:
  serializedVersion: 2
System/Treasure/TreasureData.cs
@@ -561,6 +561,7 @@
        public int treasure { get; private set; }
        public int treasureSoul { get; private set; }
        public int exp { get; set; }
        public int powerEx { get; set; }
        public int stateSfxId { get; private set; }
        public const int selectedSfxId = 5144;
        public string sfxGotState { get; private set; }
@@ -616,6 +617,7 @@
            exp = _config.NeedExp;
            stage = _config.LV;
            powerEx = _config.PowerEx;
            switch (unlockType)
            {
System/Treasure/TreasureModel.cs
@@ -1629,6 +1629,7 @@
                    break;
                }
                _fightPower += _stage.GetFightPower();
                _fightPower += _stage.powerEx;
            }
            return _fightPower;
        }