From dc7922d80c1d133b6261b8af1d521567d2c0a35d Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期四, 30 十月 2025 16:51:39 +0800
Subject: [PATCH] Merge branch 'master' of http://mobile.secondworld.net.cn:10010/r/Project_SG_scripts

---
 Main/Config/PartialConfigs/SkillConfig.Partial.cs |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)

diff --git a/Main/Config/PartialConfigs/SkillConfig.Partial.cs b/Main/Config/PartialConfigs/SkillConfig.Partial.cs
index fd807b9..42bcf79 100644
--- a/Main/Config/PartialConfigs/SkillConfig.Partial.cs
+++ b/Main/Config/PartialConfigs/SkillConfig.Partial.cs
@@ -12,6 +12,13 @@
 
 public partial class SkillConfig : ConfigBase<int, SkillConfig>
 {
+//澧炵泭锛� 3 5
+// 鍑忕泭锛� 4 6 14
+
+	public static readonly int[] GainSkillType = new int[] { 3, 5 }; // 1-鏅�氭敾鍑� 2-琚姩鎶�鑳� 3-涓撳睘鎶�鑳�
+
+	public static readonly int[] DebuffSkillType = new int[] { 4, 6, 14 };
+
 	public SkillType skillType;
 	public SkillCastMode castMode;
 
@@ -45,6 +52,16 @@
 		tempDic[SkillLV] = this;
 	}
 
+	public bool IsGainBuff()
+    {
+        return Array.Exists(GainSkillType, type => type == (int)skillType);
+    }
+
+	public bool IsDebuff()
+    {
+        return Array.Exists(DebuffSkillType, type => type == (int)skillType);
+    }
+
 	public MotionName GetMotionName()
 	{
 		return Enum.Parse<MotionName>(SkillMotionName);

--
Gitblit v1.8.0