Files
OshimaBot/OshimaBot.Content/Skills/魔法/时间加速.cs
T

29 lines
1.2 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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 => Effects.Count > 0 ? Effects.First().Description : "";
public override double MPCost => Level > 0 ? 70 + (80 * (Level - 1)) : 70;
// 调整:L8 CD 18 → 20(魔法下限 20)
public override double CD => Level > 0 ? 27 - (1 * (Level - 1)) : 27;
public override double CastTime => Level > 0 ? 2 + (1 * (Level - 1)) : 2;
public override double HardnessTime { get; set; } = 4;
public override bool CanSelectSelf => true;
public override bool CanSelectEnemy => false;
public override bool CanSelectTeammate => true;
public override int CanSelectTargetCount => 1;
public override double MagicBottleneck => 12 + 13 * (Level - 1);
public 时间加速(Character? character = null) : base(SkillType.Magic, character)
{
Effects.Add(new 提升友方行动速度(this, 65, 30));
}
}
}