if(usr.exp >= usr.maxexp)
usr.lvl++
usr.exp=0
usr.maxexp = round(usr.maxexp+(usr.maxexp*0.5)/2)
usr.tnl = usr.maxexp - usr.exp
if(usr.USER=="Free-User")
usr.maxhp = round((usr.maxhp + (usr.maxhp*0.3)))
usr.maxmp = round((usr.maxmp + (usr.maxmp*0.3)))
usr.strength= round((usr.strength + (usr.strength*0.3)))
usr.speed= round((usr.speed + (usr.speed*0.3)))
usr.intelligence= round((usr.intelligence + (usr.intelligence*0.2)))
usr.dexterity= round((usr.dexterity + (usr.dexterity*0.3)))
usr.defense= round((usr.defense + (usr.defense*0.3)))
The stat increase becomes too large after a certain amount of levels;
Also, is there an alternative to round()?
Edit: I have this for at least 32 classes.
Saying "The stat increase becomes too large after a certain amount of levels" is not a question, therefore I do not know how to help you.