yyl
2 天以前 d0dfe302f42f680bd3a84a29b9d58947046403c7
Main/Config/Configs/SkillConfig.cs
@@ -1,6 +1,6 @@
//--------------------------------------------------------
//    [Author]:           YYL
//    [  Date ]:           2025年12月12日
//    [  Date ]:           2026年2月7日
//--------------------------------------------------------
using System.Collections.Generic;
@@ -35,34 +35,10 @@
   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;
   public int RecoveryFrames;
   public int LoopCount;
   public int CastPosition;
   public int CastIndexNum;
   public float CastDistance;
   public int[][] DamageDivide;
   public int BulletEffectId;
   public int BulletPath;
   public float BulletFlySpeed;
   public int Scattering;
   public int ExplosionEffectId;
   public int ExplosionEffect2;
   public int ExplosionEffect3;
   public int ExplosionEffect4;
   public int EffectId;
   public int EffectId2;
   public int SkinllSFX1;
   public int SkinllSFX2;
   public int MStartEffectId;
   public int BuffEffect;
   public int TriggerEffect;
   public int ClientTriggerTiming;
    public override int LoadKey(string _key)
@@ -125,75 +101,15 @@
         int.TryParse(tables[18],out FightPower); 
         SkillMotionName = tables[19];
         IconName = tables[19];
         IconName = tables[20];
         BuffIconName = tables[20];
         BuffIconName = tables[21];
         SkillTipsName = tables[21];
         SkillTipsName = tables[22];
         int.TryParse(tables[22],out Scattering);
         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++)
            {
                int.TryParse(ActiveFramesStringArray[i],out ActiveFrames[i]);
            }
         }
         int.TryParse(tables[26],out RecoveryFrames);
         int.TryParse(tables[27],out LoopCount);
         int.TryParse(tables[28],out CastPosition);
         int.TryParse(tables[29],out CastIndexNum);
         float.TryParse(tables[30],out CastDistance);
         DamageDivide = JsonMapper.ToObject<int[][]>(tables[31].Replace("(", "[").Replace(")", "]"));
         int.TryParse(tables[32],out BulletEffectId);
         int.TryParse(tables[33],out BulletPath);
         float.TryParse(tables[34],out BulletFlySpeed);
         int.TryParse(tables[35],out Scattering);
         int.TryParse(tables[36],out ExplosionEffectId);
         int.TryParse(tables[37],out ExplosionEffect2);
         int.TryParse(tables[38],out ExplosionEffect3);
         int.TryParse(tables[39],out ExplosionEffect4);
         int.TryParse(tables[40],out EffectId);
         int.TryParse(tables[41],out EffectId2);
         int.TryParse(tables[42],out SkinllSFX1);
         int.TryParse(tables[43],out SkinllSFX2);
         int.TryParse(tables[44],out MStartEffectId);
         int.TryParse(tables[45],out BuffEffect);
         int.TryParse(tables[46],out TriggerEffect);
         int.TryParse(tables[47],out ClientTriggerTiming);
         int.TryParse(tables[23],out ClientTriggerTiming);
        }
        catch (Exception exception)
        {