mirror of
https://github.com/Melledy/Nebula.git
synced 2025-12-22 09:14:35 +01:00
Implement gaining melodies in monoliths
This commit is contained in:
@@ -9,6 +9,7 @@ import emu.nebula.GameConstants;
|
||||
import emu.nebula.Nebula;
|
||||
import emu.nebula.data.GameData;
|
||||
import emu.nebula.data.resources.DiscDef;
|
||||
import emu.nebula.data.resources.SubNoteSkillPromoteGroupDef;
|
||||
import emu.nebula.database.GameDatabaseObject;
|
||||
import emu.nebula.game.inventory.ItemParamMap;
|
||||
import emu.nebula.game.player.Player;
|
||||
@@ -66,6 +67,11 @@ public class GameDisc implements GameDatabaseObject {
|
||||
}
|
||||
}
|
||||
|
||||
public SubNoteSkillPromoteGroupDef getSubNoteSkillDef() {
|
||||
int id = (this.getData().getSubNoteSkillGroupId() * 100) + this.getPhase();
|
||||
return GameData.getSubNoteSkillPromoteGroupDataTable().get(id);
|
||||
}
|
||||
|
||||
public int getMaxGainableExp() {
|
||||
if (this.getLevel() >= this.getMaxLevel()) {
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user