2024-11-28 00:57:28 +08:00

72 lines
2.4 KiB
C#

using Milimoe.FunGame.Core.Entity;
using Milimoe.FunGame.Core.Library.Constant;
using Oshima.FunGame.OshimaModules.Effects.SkillEffects;
namespace Oshima.FunGame.OshimaModules.Skills
{
public class : Skill
{
public override long Id => (long)MagicID.;
public override string Name => "反魔法领域";
public override string Description => Effects.Count > 0 ? string.Join("\r\n", Effects.Select(e => e.Description)) : "";
public override double MPCost
{
get
{
return Level switch
{
8 => + 7 * ,
7 => + 5 * ,
6 => + 5 * ,
5 => + 4 * ,
4 => + 3 * ,
3 => + 2 * ,
_ =>
};
}
}
public override double CD => Level > 0 ? 90 - (2 * (Level - 1)) : 75;
public override double CastTime
{
get
{
return Level switch
{
8 => 20,
7 => 18,
6 => 14,
5 => 16,
4 => 14,
3 => 12,
2 => 8,
_ => 10
};
}
}
public override double HardnessTime { get; set; } = 10;
public override int CanSelectTargetCount
{
get
{
return Level switch
{
8 => 6,
7 => 5,
6 => 4,
5 => 4,
4 => 3,
3 => 2,
_ => 1
};
}
}
private double { get; set; } = 85;
private double { get; set; } = 80;
public (Character? character = null) : base(SkillType.Magic, character)
{
Effects.Add(new (this, true, 15, 0, 1));
}
}
}