2024-11-27 23:52:28 +08:00

39 lines
1.3 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 => Level > 0 ? 85 + (80 * (Level - 1)) : 85;
public override double CD => Level > 0 ? 90 - (2 * (Level - 1)) : 75;
public override double CastTime => Level > 0 ? 15 + (1 * (Level - 1)) : 15;
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
};
}
}
public (Character? character = null) : base(SkillType.Magic, character)
{
Effects.Add(new (this, true, 15, 0));
}
}
}