mob
proc
Levelup()
if(src.exp >= src.maxexp)
if(src.Hyuga)
level++
Chakra+= rand(5,15)
ninjutsu+= rand(5,10)
genjutsu+= rand(5,15)
Taijutsu+= rand(5,20)
Agility+= rand(5,20)
Stamina+= rand(5,15)
Control+= rand(0,1)
src << "<li><font face= Arial color= blue>You are now on level [level]!!</font></li>"
src.maxchakra = src.chakra
return
if(src.Uchiha)
level++
Chakra+= rand(5,15)
ninjutsu+= rand(5,20)
genjutsu+= rand(5,15)
Taijutsu+= rand(5,10)
Agility+= rand(5,15)
Stamina+= rand(5,20)
Control+= rand(0,1)
src << "<li><font face= Arial color= blue>You are on level [level]!!</font></li>"
src.maxchakra = src.chakra
return
if(src.Akimichi)
level++
Chakra+= rand(5,20)
ninjutsu+= rand(5,15)
genjutsu+= rand(5,10)
Taijutsu+= rand(5,20)
Agility+= rand(5,10)
Stamina+= rand(5,15)
Control+= rand(0,1)
src << "<li><font face= Arial color= blue>You are on level [level]!!</font></li>"
src.maxchakra = src.chakra
return
if(src.Kayuga)
level++
Chakra+= rand(5,15)
ninjutsu+= rand(5,15)
genjutsu+= rand(5,10)
Taijutsu+= rand(5,20)
Agility+= rand(5,15)
Stamina+= rand(5,10)
Control+= rand(0,1)
src << "<li><font face= Arial color= blue>You are on level [level]!!</font></li>"
src.maxchakra = src.chakra
return
Okay how do I make it easier so every 50 levels I don't have to do a new level up proc, so they gain more stats.For example every 50 levels they would move up a mode from easy to Hokage. Everytime they move up a rank, their exp to gain levels will change for example from 4000 to 15k.
But they will gain more stats as they move up modes.How do I do all that in in one level up proc, if its possible.