server-master/srcs/WingsAPI.Game/Configurations/SpPerfectionConfiguration.cs
2026-02-10 18:21:30 +01:00

41 lines
No EOL
1.2 KiB
C#

using System.Collections.Generic;
using System.Runtime.Serialization;
using WingsEmu.Game._enum;
namespace WingsEmu.Game.Configurations;
[DataContract]
public class SpPerfectionConfiguration
{
[DataMember(EmitDefaultValue = true, IsRequired = true)]
public List<PerfUpgradeConfiguration> PerfUpgradeConfigurations { get; set; } = new()
{
new()
};
[DataMember(EmitDefaultValue = true, IsRequired = true)]
public Dictionary<SpPerfStats, short> StatProbabilityConfiguration { get; set; } = new()
{
{ SpPerfStats.Attack, 10 },
{ SpPerfStats.Defense, 10 },
{ SpPerfStats.Element, 10 },
{ SpPerfStats.HpMp, 10 },
{ SpPerfStats.ResistanceFire, 10 },
{ SpPerfStats.ResistanceWater, 10 },
{ SpPerfStats.ResistanceLight, 10 },
{ SpPerfStats.ResistanceDark, 10 }
};
[DataMember(EmitDefaultValue = true, IsRequired = true)]
public List<SpStoneLink> SpStonesLinks { get; set; } = new()
{
new()
{
StoneVnum = (int)ItemVnums.RUBY_COMP,
SpVnums = new List<int>
{
(int)ItemVnums.GLADIATOR
}
}
};
}