ID:162909
 
Ok, I have been working on this system for a while, trying to figure out just how to get it to work to my specifications, but whatever I try, I can never come up with a correct equation. I have all the other information set except for the multiplier to set the next level up EXP. Here is an example of the systems level ups.

-Start off with 0 EXP
-To get level 2, you need a total of 80 EXP
-The first multiplier is 80 + 10, which is 90
-So to get to level 3, you need a total of 170 EXP
-The multiplier after that though, is 90 + 10.
-So there is a basic pattern below:

Level 2: 80 + 90
Level 3: 170 + 100
Level 4: 270 + 110
Level 5: 380 + 120

In that pattern. This may not be the true multiplier, but I just need a similar example to get started. Thanks
Your equation would be: [src.maxexp] + 90+(10*[src.level]-2)
But if the equation will work in DM exactly like that, I'm not entirely sure.


Example : 80 + 90(10*0) = 170 at level 2
380 + 90(10*3) = 500 at level 5
you could try if() or make a variable,
NewEXP + 10
MaxEXP + NewEXP
EXP = 0

something like that
In response to PheonixReborn
src.exp-=src.maxexp
//THEN change the maxexp

so players' exp doesnt go to waste :)