Implement monolith vita plans

This commit is contained in:
Melledy committed 2026-10-21 05:58:19 -07:00
1 parent fbbfb20656
commit 9271c3431f
18 files changed
+636 -10

No files matched your search

@@ -120,6 +120,7 @@ public class GameData {
@Getter private static DataTable<StarTowerQuestDef> StarTowerQuestDataTable = new DataTable<>();
@Getter private static DataTable<StarTowerBuildRankDef> StarTowerBuildRankDataTable = new DataTable<>();
@Getter private static DataTable<StarTowerBookPotentialRewardDef> StarTowerBookPotentialRewardDataTable = new DataTable<>();
@Getter private static DataTable<TowerVitaOptionDef> TowerVitaOptionDataTable = new DataTable<>();
@Getter private static DataTable<SubNoteSkillPromoteGroupDef> SubNoteSkillPromoteGroupDataTable = new DataTable<>();
@Getter private static DataTable<PotentialDef> PotentialDataTable = new DataTable<>();
@@ -0,0 +1,33 @@
package emu.nebula.data.resources;
import emu.nebula.data.BaseDef;
import emu.nebula.data.ResourceType;
import lombok.Getter;
@Getter
@ResourceType(name = "TowerVitaOption.json")
public class TowerVitaOptionDef extends BaseDef {
private int Id;
private int Categories;
private int Sort;
private int OptionType;
private int OptionGroup;
private String DefaultValue;
@Override
public int getId() {
return Id;
}
public boolean isSwitch() {
return this.OptionType == 1;
}
public boolean isInteger() {
return this.OptionType >= 2 && this.OptionType <= 4;
}
public boolean isList() {
return this.OptionType == 5;
}
}