Implemented a level-up for SupporterCards.

This commit is contained in:
Kei-Luna
2026-04-28 16:12:02 +09:00
parent 5d0f587fb9
commit ccdfbee828
4 changed files with 142 additions and 4 deletions

View File

@@ -1,3 +1,5 @@
using Newtonsoft.Json;
namespace MikuSB.Data.Excel;
[ResourceEntity("support_card.json")]
@@ -8,6 +10,18 @@ public class SupportCardExcel : ExcelResource
public uint Particular { get; set; }
public uint Level { get; set; }
public uint Icon { get; set; }
public uint ProvideExp { get; set; }
[JsonProperty("LevelLimitID")] public int LevelLimitId { get; set; }
public uint MaxLevel => LevelLimitId switch
{
1007 => 10,
1008 => 13,
1009 => 16,
_ => 10
};
public ulong TemplateId => GameResourceTemplateId.FromGdpl(Genre, Detail, Particular, Level);
public override uint GetId() => Icon;