Project MMO

Project MMO

11M Downloads

Level calculation wrong?

Moldx3 opened this issue ยท 1 comments

commented

Describe the bug
The calculation of exponential levels is not as expected.

Expected behavior
The given formular in pmmo-server.toml states:
Base XP * ([Power Base]^([Per Level] * level))
F.e.
250*(1.124088404342588^(1.111*69)=1,959,986.46XP=Lvl 69
However:
17.900.960XP = Lvl 69

To Reproduce
Calculate levels

Screenshots
See attachements

Image

Versions:

  • Minecraft: (1.20.1)
  • Loader: Forge-47.3.12
  • PMMO: pmmo-1.20.1-1.4.25

Additional context
A fix is not needed i just would like to know the correct way of calculation.
configs.zip

commented

the calculation is compounding. so it's Fx(1) + Fx(2) + .... + Fx(69) = 17,900,960