Hey guys, I’m working on a personal compilation mod with tweaks (no current plans to release, it’s quick and dirty work for the most part using a bunch of other peoples’ hard work), and I’ve run into a minor issue.
Part of this mod removes the level cap, but doesn’t affect the actual experience gain (I’ve removed exp multipliers that another mod added), and I would like to cap the maximum exp needed to level up. The issue is, I don’t know if that’s possible, or what syntax is actually acceptable.
The current formula is:
((((((playerLevel*playerLevel*playerLevel)^1.16)*32)+((playerLevel*playerLevel)*300))*0.1)+36)
Ideally, I would like to change it to something along the lines of:
MIN(((((((playerLevel*playerLevel*playerLevel)^1.16)*32)+((playerLevel*playerLevel)*300))*0.1)+36),50000000)
Does anyone know what the proper syntax for this would be in Grim Dawn, or if it’s even possible?
quick edit: Uhh, changed the proposed formula because I completely mixed my functions up