Implement monolith potential book

This commit is contained in:
Melledy committed 2026-10-18 23:35:41 -07:00
1 parent b7d6278b26
commit 465ccd769e
14 files changed
+403 -3

No files matched your search

@@ -191,6 +191,18 @@ public class PlayerProgress extends PlayerManager implements GameDatabaseObject
Nebula.getGameDatabase().update(this, this.getUid(), logName + "." + id, newStar);
}
public boolean isNewPotential(int id) {
// Get character that uses this potential
var character = this.getPlayer().getCharacters().getCharacterFromPotential(id);
if (character == null) {
return true;
}
// Checks if the character has seen the potential yet or not
return !character.hasSeenPotential(id);
}
// Proto
public void encodePlayerInfo(PlayerInfo proto) {