少年修仙传客户端代码仓库
client_Zxw
2018-09-04 b4d5a32a7cc9035bb1efa29ad062cd2bd70ad898
Core/GameEngine/Model/Config/ItemConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:         第二世界
//    [  Date ]:         Friday, August 31, 2018
//    [  Date ]:         Tuesday, September 04, 2018
//--------------------------------------------------------
using UnityEngine;
@@ -21,7 +21,7 @@
      public int UseLV { get ; private set ; }
      public int CanSell { get ; private set ; }
      public int CanTrade { get ; private set ; }
      public int ComposeID { get ; private set ; }
      public int[] JumpComposeCondi;
      public int CanDrop { get ; private set ; }
      public int CanBind { get ; private set ; }
      public int CDType { get ; private set ; }
@@ -110,7 +110,12 @@
         
            CanTrade=IsNumeric(rawContents[9]) ? int.Parse(rawContents[9]):0; 
         
            ComposeID=IsNumeric(rawContents[10]) ? int.Parse(rawContents[10]):0;
            string[] JumpComposeCondiStringArray = rawContents[10].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            JumpComposeCondi = new int[JumpComposeCondiStringArray.Length];
            for (int i=0;i<JumpComposeCondiStringArray.Length;i++)
            {
                int.TryParse(JumpComposeCondiStringArray[i],out JumpComposeCondi[i]);
            }
         
            CanDrop=IsNumeric(rawContents[11]) ? int.Parse(rawContents[11]):0;