hch
10 天以前 dc7922d80c1d133b6261b8af1d521567d2c0a35d
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);