mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-19 17:19:58 +02:00
Implement gaining melodies in monoliths
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user