mob/proc
LevelUp(mob/Player/M)
if(usr.Class=="Knight")
if(usr.Exp>=usr.ExpNeed)
usr.Level += 1
usr.Power += rand(3,5) * usr.Level
usr.Mana_Power += rand(9,12) * usr.Level
usr.HP += rand(3,5) * usr.Level
usr.MaxHP += rand(4,7) * usr.Level
usr.ExpNeed += src.Level * 23
usr.HP = usr.MaxHP
world << "<b> [usr.name] the [usr.Class] has leveled up to [usr.Level]"
world << "<b> Stats: Power: [Power] HP: [usr.HP]/[usr.MaxHP]"
if(usr.Level== 100)
usr.Exp += 0
usr.ExpNeed = 0
usr.Level += 0
usr.Power += 0
usr.Mana_Power += 0
usr.HP += 0
usr.MaxHP += 0
usr.MP += 0
usr.MaxMP += 0
usr.ExpNeed += 0
usr.HP = usr.MaxHP
else
return
oh and if this does work at least give me credit if u use it. i did write the dang code lol. its only right. although i had help from the RPG Tutorial.