Remove constellation charge and talent level bonuses from db

This commit is contained in:
AnimeGitB
2022-10-17 16:13:28 +10:30
parent cbd66a7437
commit 1ecc3f4390
4 changed files with 41 additions and 41 deletions

View File

@@ -172,12 +172,17 @@ public class ResourceLoader {
}
private static void cacheTalentLevelSets() {
// All known levels, keyed by proudSkillGroupId
GameData.getProudSkillDataMap().forEach((id, data) ->
GameData.proudSkillGroupLevels
.computeIfAbsent(data.getProudSkillGroupId(), i -> new IntArraySet())
.add(data.getLevel()));
// All known levels, keyed by avatarSkillId
GameData.getAvatarSkillDataMap().forEach((id, data) ->
GameData.avatarSkillLevels.put((int) id, GameData.proudSkillGroupLevels.get(data.getProudSkillGroupId())));
// Maximum known levels, keyed by proudSkillGroupId
GameData.proudSkillGroupLevels.forEach((id, set) ->
GameData.proudSkillGroupMaxLevels.put((int) id, set.intStream().max().getAsInt()));
}
private static void loadAbilityEmbryos() {