Implement bonus potential level monolith talents

This commit is contained in:
Melledy
2025-12-05 02:12:29 -08:00
parent 880f0d1d7d
commit 6974631601
5 changed files with 118 additions and 41 deletions

View File

@@ -0,0 +1,26 @@
package emu.nebula.game.tower;
import emu.nebula.proto.PublicStarTower.PotentialInfo;
import lombok.Getter;
@Getter
public class StarTowerPotentialInfo {
private int id;
private int level;
public StarTowerPotentialInfo(int id, int level) {
this.id = id;
this.level = level;
}
// Proto
public PotentialInfo toProto() {
var proto = PotentialInfo.newInstance()
.setTid(this.getId())
.setLevel(this.getLevel());
return proto;
}
}