XP formula not working out correctly.
Resolved
SteamSeedOPMay 1, 2026, 2:14 PMIf i use the formula 45*(x*x*x)-21*x{x>0} i would expect level 3 to need 1160 XP but instead it only requires 144 xp. I am lost on what is happening.
SteamSeedMay 1, 2026, 2:15 PMSolutionBloody discord formatting haha

JasperMay 1, 2026, 2:18 PM45*(x*x*x)-21*x{x>0}- Jasper`45*(x*x*x)-21*x{x>0}`
SteamSeedMay 1, 2026, 2:29 PMthats the one!
FinnyMay 4, 2026, 5:49 PMFun looking formula
CeejMay 6, 2026, 10:23 AMDipping in here to keep track of it, as SteamSeed and I are working together on this. Really keen to get the formula working!
- SteamSeedIf i use the formula 45*(x*x*x)-21*x{x>0} i would expect level 3 to need 1160 XP but instead it only requires 144 xp. I am lost on what is happening.
JasperMay 6, 2026, 10:42 AMAdmittedly I haven't used the bot or been on discord in a bit but
JasperMay 6, 2026, 10:42 AM
JasperMay 6, 2026, 10:42 AMThe docs seem to indicate using level instead of x
JasperMay 6, 2026, 10:42 AM@Ceej
CeejMay 6, 2026, 1:47 PMthanks @Jasper will have a look at that
- JasperThe docs seem to indicate using level instead of x
FinnyMay 6, 2026, 3:11 PMYes this is correct you use
{level}instead of x
FinnyMay 6, 2026, 3:11 PMAnd there is no need for the restriction in the custom formula since we only ever start at 0!
FinnyMay 6, 2026, 3:20 PMGot it to work with this formula: `45 * ({level} * {level} * {level}) - 21 * {level} `

CeejMay 7, 2026, 8:59 AMYes! I managed to get it to work yesterday now too.
CeejMay 7, 2026, 9:00 AMThanks so much for looking at this though 🙂
- FinnyGot it to work with this formula: `45 * ({level} * {level} * {level}) - 21 * {level} `
Answer OverflowMay 7, 2026, 9:19 AM