mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2026-01-19 14:08:23 +00:00
26 lines
1.1 KiB
C#
26 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)SkillID.镜花水月;
|
|
public override string Name => "镜花水月";
|
|
public override string Description => string.Join("", Effects.Select(e => e.Description));
|
|
public override string DispelDescription => Effects.Count > 0 ? Effects.First(e => e is 施加免疫).DispelDescription : "";
|
|
public override double EPCost => 70;
|
|
public override double CD => 40;
|
|
public override double HardnessTime { get; set; } = 10;
|
|
public override bool CanSelectSelf => true;
|
|
public override bool CanSelectEnemy => false;
|
|
public override bool CanSelectTeammate => false;
|
|
|
|
public 镜花水月(Character? character = null) : base(SkillType.Skill, character)
|
|
{
|
|
Effects.Add(new 施加免疫(this, ImmuneType.All, false, 0, 2));
|
|
}
|
|
}
|
|
}
|