mirror of
https://github.com/project-redbud/FunGame-Core.git
synced 2025-04-21 11:39:35 +08:00
优化显示格式
This commit is contained in:
parent
75d1337ce1
commit
9d5dde6d6e
@ -392,7 +392,7 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
if (Skills.Active != null) builder.AppendLine($"{Skills.Active.ToString()}");
|
||||
foreach (Skill skill in Skills.Passives)
|
||||
{
|
||||
builder.Append($"{skill.ToString()}");
|
||||
builder.Append($"{skill.ToString().Trim()}");
|
||||
}
|
||||
|
||||
if (BackgroundStory != "")
|
||||
|
@ -9,7 +9,7 @@ namespace Milimoe.FunGame.Core.Entity
|
||||
{
|
||||
public override long Id { get; set; }
|
||||
public override string Name { get; set; }
|
||||
public override string Description => string.Join("\r\n", Effects);
|
||||
public override string Description => string.Join("\r\n", Effects.Select(e => e.Description));
|
||||
|
||||
public OpenSkill(long id, string name, Dictionary<string, object> args, Character? character = null) : base(SkillType.Passive, character)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user