mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-22 03:59:35 +08:00

* 添加CharacterMode,SkillMode,ItemMode * 添加默认地图属性 * 添加CharacterMode, SkillMode, ItemMode的Loader方法,优化构造函数 * 添加和优化Equals方法 * 删除Symbol
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using Milimoe.FunGame.Core.Interface.Entity;
|
|
|
|
namespace Milimoe.FunGame.Core.Entity
|
|
{
|
|
public class ActiveSkill : Skill
|
|
{
|
|
public decimal MP { get; set; } = 0;
|
|
public decimal EP { get; set; } = 0;
|
|
public decimal Reference1 { get; set; } = 0;
|
|
public decimal Reference2 { get; set; } = 0;
|
|
public decimal Reference3 { get; set; } = 0;
|
|
public decimal Reference4 { get; set; } = 0;
|
|
public decimal Reference5 { get; set; } = 0;
|
|
public decimal Reference6 { get; set; } = 0;
|
|
public decimal Reference7 { get; set; } = 0;
|
|
public decimal Reference8 { get; set; } = 0;
|
|
public decimal Reference9 { get; set; } = 0;
|
|
public decimal Reference10 { get; set; } = 0;
|
|
|
|
protected ActiveSkill()
|
|
{
|
|
Active = true;
|
|
}
|
|
|
|
internal static ActiveSkill GetInstance()
|
|
{
|
|
return new();
|
|
}
|
|
|
|
public override bool Equals(IBaseEntity? other)
|
|
{
|
|
return other is ActiveSkill s && s.Name == Name;
|
|
}
|
|
}
|
|
}
|