mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2026-01-19 14:08:22 +00:00
19 lines
631 B
C#
19 lines
631 B
C#
using Milimoe.FunGame.Core.Entity;
|
|
|
|
namespace Milimoe.FunGame.Core.Model.PrefabricatedEntity
|
|
{
|
|
/// <summary>
|
|
/// 继承此类以表示灵魂绑定技能
|
|
/// </summary>
|
|
public class SoulboundSkill(long id, string name, Dictionary<string, object> args, Character? character = null) : OpenSkill(id, name, args, character)
|
|
{
|
|
public override bool CostAllEP => true;
|
|
public override double MinCostEP => 100;
|
|
|
|
/// <summary>
|
|
/// 每额外消耗 20 能量效果增强 10%
|
|
/// </summary>
|
|
public virtual double Improvement => (LastCostEP - MinCostEP) / 20 * 0.1;
|
|
}
|
|
}
|