lcy
7 天以前 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4
Main/Config/Configs/SkillConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年9月12日
//    [  Date ]:           Monday, October 27, 2025
//--------------------------------------------------------
using System.Collections.Generic;
@@ -32,9 +32,13 @@
   public int TagCount;
   public int HappenRate;
   public int CoolDownTime;
   public int[] BuffStateLimit;
   public int BuffState;
   public int FightPower;
   public string SkillMotionName;
   public string IconName;
   public string BuffIconName;
   public string SkillTipsName;
   public int EffectType;
   public int StartupFrames;
   public int[] ActiveFrames;
@@ -51,6 +55,7 @@
   public int ExplosionEffectId;
   public int ExplosionEffect2;
   public int ExplosionEffect3;
   public int ExplosionEffect4;
   public int EffectId;
   public int EffectId2;
   public int MStartEffectId;
@@ -99,23 +104,43 @@
         int.TryParse(tables[15],out CoolDownTime); 
         int.TryParse(tables[16],out FightPower);
         SkillMotionName = tables[17];
         IconName = tables[18];
         int.TryParse(tables[19],out EffectType);
         int.TryParse(tables[20],out StartupFrames);
         if (tables[21].Contains("["))
         if (tables[16].Contains("["))
         {
            ActiveFrames = JsonMapper.ToObject<int[]>(tables[21]);
            BuffStateLimit = JsonMapper.ToObject<int[]>(tables[16]);
         }
         else
         {
            string[] ActiveFramesStringArray = tables[21].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            string[] BuffStateLimitStringArray = tables[16].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            BuffStateLimit = new int[BuffStateLimitStringArray.Length];
            for (int i=0;i<BuffStateLimitStringArray.Length;i++)
            {
                int.TryParse(BuffStateLimitStringArray[i],out BuffStateLimit[i]);
            }
         }
         int.TryParse(tables[17],out BuffState);
         int.TryParse(tables[18],out FightPower);
         SkillMotionName = tables[19];
         IconName = tables[20];
         BuffIconName = tables[21];
         SkillTipsName = tables[22];
         int.TryParse(tables[23],out EffectType);
         int.TryParse(tables[24],out StartupFrames);
         if (tables[25].Contains("["))
         {
            ActiveFrames = JsonMapper.ToObject<int[]>(tables[25]);
         }
         else
         {
            string[] ActiveFramesStringArray = tables[25].Trim().Split(StringUtility.splitSeparator,StringSplitOptions.RemoveEmptyEntries);
            ActiveFrames = new int[ActiveFramesStringArray.Length];
            for (int i=0;i<ActiveFramesStringArray.Length;i++)
            {
@@ -123,41 +148,43 @@
            }
         }
         int.TryParse(tables[22],out RecoveryFrames);
         int.TryParse(tables[26],out RecoveryFrames);
         int.TryParse(tables[23],out LoopCount);
         int.TryParse(tables[27],out LoopCount);
         int.TryParse(tables[24],out CastPosition);
         int.TryParse(tables[28],out CastPosition);
         int.TryParse(tables[25],out CastIndexNum);
         int.TryParse(tables[29],out CastIndexNum);
         float.TryParse(tables[26],out CastDistance);
         float.TryParse(tables[30],out CastDistance);
         DamageDivide = JsonMapper.ToObject<int[][]>(tables[27].Replace("(", "[").Replace(")", "]"));
         DamageDivide = JsonMapper.ToObject<int[][]>(tables[31].Replace("(", "[").Replace(")", "]"));
         int.TryParse(tables[28],out BulletEffectId);
         int.TryParse(tables[32],out BulletEffectId);
         int.TryParse(tables[29],out BulletPath);
         int.TryParse(tables[33],out BulletPath);
         float.TryParse(tables[30],out BulletFlySpeed);
         float.TryParse(tables[34],out BulletFlySpeed);
         int.TryParse(tables[31],out Scattering);
         int.TryParse(tables[35],out Scattering);
         int.TryParse(tables[32],out ExplosionEffectId);
         int.TryParse(tables[36],out ExplosionEffectId);
         int.TryParse(tables[33],out ExplosionEffect2);
         int.TryParse(tables[37],out ExplosionEffect2);
         int.TryParse(tables[34],out ExplosionEffect3);
         int.TryParse(tables[38],out ExplosionEffect3);
         int.TryParse(tables[35],out EffectId);
         int.TryParse(tables[39],out ExplosionEffect4);
         int.TryParse(tables[36],out EffectId2);
         int.TryParse(tables[40],out EffectId);
         int.TryParse(tables[37],out MStartEffectId);
         int.TryParse(tables[41],out EffectId2);
         int.TryParse(tables[38],out BuffEffect);
         int.TryParse(tables[42],out MStartEffectId);
         int.TryParse(tables[39],out TriggerEffect);
         int.TryParse(tables[43],out BuffEffect);
         int.TryParse(tables[44],out TriggerEffect);
        }
        catch (Exception exception)
        {