2024-11-25 23:58:26 +08:00

28 lines
1.1 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 - (1.5 * (Level - 1)) : 75;
public override double CastTime => Level > 0 ? 15 + (1 * (Level - 1)) : 15;
public override double HardnessTime { get; set; } = 10;
public override List<Character> SelectTargets(Character caster, List<Character> enemys, List<Character> teammates)
{
return [.. enemys];
}
public (Character? character = null) : base(SkillType.Magic, character)
{
Effects.Add(new (this, true, 15, 0));
}
}
}