chore: initialize OshimaBot repository (rename from Enhancement)

This commit is contained in:
2026-11-09 19:38:28 +08:00
commit f9052358a9
414 changed files with 36653 additions and 0 deletions
@@ -0,0 +1,27 @@
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 ? string.Join("\r\n", 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 ? 85 + (90 * (Level - 1)) : 85;
// 调整:L8 CD 16 → 20(魔法下限 20,同时缓解「持续 > CD」)
public override double CD => Level > 0 ? 34 - (2 * (Level - 1)) : 34;
public override double CastTime => 8;
public override double HardnessTime { get; set; } = 3;
public override bool SelectAllEnemies => true;
public override double MagicBottleneck => 15 + 15 * (Level - 1);
public 虚弱领域(Character? character = null) : base(SkillType.Magic, character)
{
Effects.Add(new 造成虚弱(this, true, 7, 0, 2, 0.1, 1, 0.1, 0.25, 0.001));
}
}
}