Implement !disc command and improve !giveall to apply properties

This commit is contained in:
Melledy
2025-11-18 03:12:10 -08:00
parent 6ac782e25c
commit 05555c684e
4 changed files with 161 additions and 17 deletions

View File

@@ -70,6 +70,18 @@ public class GameDisc implements GameDatabaseObject {
}
}
public void setLevel(int level) {
this.level = level;
}
public void setPhase(int phase) {
this.phase = phase;
}
public void setStar(int star) {
this.star = star;
}
public SubNoteSkillPromoteGroupDef getSubNoteSkillDef() {
int id = (this.getData().getSubNoteSkillGroupId() * 100) + this.getPhase();
return GameData.getSubNoteSkillPromoteGroupDataTable().get(id);