mob/proc/Levelup() // Level Up Proc.
if(usr.exp <= usr.maxexp)
usr << "<B>You Gained A Level!"
usr.exp = 0
usr.Level +=1
usr.maxexp *= 2
usr.gold += 1000
Problem description:
i get alot of exp, but i can get INF exp and it doesnt level up whats wrong
if(src.exp <= src.maxexp)
it needs to b
if(src.exp >= src.maxexp)