ID:142623
 
Code:
mob
proc
levelup()
if(usr.exp==usr.mexp)
usr.Level+=1


Problem description:

Ok so the problem is, i want it so that when ur exp is equal to ur max exp, u gain a level. but, asusual it goes over the max exp limit and doesnt gain a level. Help is appreciated
mob/proc/levelup()
if(exp>=mexp) Level++