chore: initialize OshimaBot repository (rename from Enhancement)
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
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 => string.Join("", Effects.Select(e => e.Description));
|
||||
public override string DispelDescription => Effects.Count > 0 ? Effects.First(e => e is 施加概率负面).DispelDescription : "";
|
||||
public override string ExemptionDescription => Effects.Count > 0 ? Effects.First(e => e is 施加概率负面).ExemptionDescription : "";
|
||||
public override double MPCost => Level > 0 ? 70 + (75 * (Level - 1)) : 70;
|
||||
public override double CD => Level > 0 ? 38 + (1 * (Level - 1)) : 38;
|
||||
public override double CastTime => 9;
|
||||
public override double HardnessTime { get; set; } = 7;
|
||||
public override int CanSelectTargetCount
|
||||
{
|
||||
get
|
||||
{
|
||||
return Level switch
|
||||
{
|
||||
4 => 2,
|
||||
5 => 2,
|
||||
6 => 2,
|
||||
7 => 3,
|
||||
8 => 3,
|
||||
_ => 1
|
||||
};
|
||||
}
|
||||
}
|
||||
public override double MagicBottleneck => 20 + 24 * (Level - 1);
|
||||
|
||||
public 鬼魅之痛(Character? character = null) : base(SkillType.Magic, character)
|
||||
{
|
||||
Effects.Add(new 纯数值伤害(this, 65, 35, DamageType.Magical));
|
||||
Effects.Add(new 施加概率负面(this, EffectType.Stun, true, 6, 0, 0.7, 0.2, 0.03));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user