mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2025-04-22 11:59:35 +08:00
28 lines
1.1 KiB
C#
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));
|
|
}
|
|
}
|
|
}
|