From 39001a600fcae2bcf27c225df8752d75fb92fef4 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期五, 31 十月 2025 11:18:26 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts
---
Main/Config/Configs/SkillConfig.cs | 91 +++++++++++++++++++++++++++++----------------
1 files changed, 59 insertions(+), 32 deletions(-)
diff --git a/Main/Config/Configs/SkillConfig.cs b/Main/Config/Configs/SkillConfig.cs
index d186d92..1fa492c 100644
--- a/Main/Config/Configs/SkillConfig.cs
+++ b/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)
{
--
Gitblit v1.8.0