mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-14 05:14:46 +01:00
Implement !disc command and improve !giveall to apply properties
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user