pre-process tables

This commit is contained in:
rfi
2023-10-18 22:33:14 +07:00
parent e3789bd59a
commit 1ddd574645
5262 changed files with 367759 additions and 210824 deletions

View File

@@ -24,6 +24,7 @@ namespace AscNet.Common.Database
Uid = uid,
Characters = new()
};
// Lucia havers by default
character.AddCharacter(1021001);
collection.InsertOne(character);
@@ -58,7 +59,7 @@ namespace AscNet.Common.Database
HeadFashionType = 0
}
};
characterData.SkillList.AddRange(characterSkill.SkillGroupId.Take(8).Select(x => new NotifyCharacterDataList.NotifyCharacterDataListCharacterData.NotifyCharacterDataListCharacterDataSkill()
characterData.SkillList.AddRange(characterSkill.SkillGroupId.Take(8).Select(x => new NotifyCharacterDataList.NotifyCharacterDataListCharacterData.NotifyCharacterDataListCharacterDataSkill()
{
Id = uint.Parse(x.ToString().Take(6).ToArray()),
Level = 1