Files
OshimaBot/OshimaBot.Content/Skills/魔法/弧光消耗.cs
T

29 lines
1.2 KiB
C#

using FunGame.Core.Entity;
using FunGame.Core.Library.Constant;
using OshimaBot.Content.Effects.SkillEffects;
namespace OshimaBot.Content.Skills
{
public class 弧光消耗 : Skill
{
public override long Id => (long)MagicID.弧光消耗;
public override string Name => "弧光消耗";
public override string Description => string.Join("", Effects.Select(e => e.Description));
public override double MPCost => Level > 0 ? 35 + (30 * (Level - 1)) : 35;
public override double CD => 35;
public override double CastTime => 4;
public override double HardnessTime { get; set; } = 5;
public override int CanSelectTargetCount => 3;
public override SkillRangeType SkillRangeType => SkillRangeType.Circle;
public override int CanSelectTargetRange => 3;
public override double MagicBottleneck => 12 + 13 * (Level - 1);
public 弧光消耗(Character? character = null) : base(SkillType.Magic, character)
{
IsNonDirectional = true;
Effects.Add(new 吸取魔法值(this, 35, 30, false, 0.7));
Effects.Add(new 吸取能量值(this, 4, 3, false, 0.3));
}
}
}