少年修仙传客户端代码仓库
Client_PangDeRong
2018-10-15 f0de9b4d273f8d22afa1995204d190645aec5c22
Core/GameEngine/Model/Config/AttrFruitConfig.cs
@@ -16,7 +16,7 @@
      public int MaxUseCnt { get ; private set ; }
      public int RecycleExp { get ; private set ; }
      public int Sort { get ; private set ; }
      public int RecipeLv { get ; private set ; }
      public int[] RecipeLv;
      public override string getKey()
        {
@@ -36,7 +36,12 @@
         
            Sort=IsNumeric(rawContents[4]) ? int.Parse(rawContents[4]):0; 
         
            RecipeLv=IsNumeric(rawContents[5]) ? int.Parse(rawContents[5]):0;
            string[] RecipeLvStringArray = rawContents[5].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            RecipeLv = new int[RecipeLvStringArray.Length];
            for (int i=0;i<RecipeLvStringArray.Length;i++)
            {
                int.TryParse(RecipeLvStringArray[i],out RecipeLv[i]);
            }
            }
            catch (Exception ex)
            {