Implement gaining melodies in monoliths

This commit is contained in:
Melledy
2025-11-03 05:40:19 -08:00
parent 56b9998ed7
commit 5b5a72b4dc
6 changed files with 225 additions and 52 deletions
@@ -65,4 +65,5 @@ public class GameData {
@Getter private static DataTable<StarTowerDef> StarTowerDataTable = new DataTable<>();
@Getter private static DataTable<StarTowerStageDef> StarTowerStageDataTable = new DataTable<>();
@Getter private static DataTable<PotentialDef> PotentialDataTable = new DataTable<>();
@Getter private static DataTable<SubNoteSkillPromoteGroupDef> SubNoteSkillPromoteGroupDataTable = new DataTable<>();
}
@@ -11,7 +11,9 @@ public class DiscDef extends BaseDef {
private int StrengthenGroupId;
private int PromoteGroupId;
private int TransformItemId;
private int[] MaxStarTransformItem;
private int[] ReadReward;
private int SubNoteSkillGroupId;
@Override
public int getId() {
@@ -0,0 +1,25 @@
package emu.nebula.data.resources;
import emu.nebula.data.BaseDef;
import emu.nebula.data.ResourceType;
import emu.nebula.game.inventory.ItemParamMap;
import lombok.Getter;
@Getter
@ResourceType(name = "SubNoteSkillPromoteGroup.json")
public class SubNoteSkillPromoteGroupDef extends BaseDef {
private int Id;
private String SubNoteSkills;
private transient ItemParamMap items;
@Override
public int getId() {
return Id;
}
@Override
public void onLoad() {
this.items = ItemParamMap.fromJsonString(this.SubNoteSkills);
}
}