Implement fortitude and intelligence scaling

This commit is contained in:
2025-11-08 15:14:38 +01:00
parent c9da949e45
commit 73a4f2549f
5 changed files with 239 additions and 8 deletions
@@ -89,6 +89,13 @@ public class PlayerStats {
attributes.put(attribute, clamped);
}
public int getMaxMana() {
int intelligence = getAttributeLevel("intelligence");
int base = 50;
int perPoint = 3;
return base + intelligence * perPoint;
}
public CompoundTag serializeNBT() {
CompoundTag tag = new CompoundTag();
tag.putInt("AscendLevel", ascendLevel);