ID:167522
 
mob
proc
Levelup()
if(usr.exp>=src.maxexp)
usr.level++
usr.exp=0
usr.maxexp*=2
usr<<"You gained a level!"
usr.Statup()
else
..()//defaults if the if() doesn't return it's arguments
mob
proc
Statup()
usr.maxhealth+=20//adds to your health
usr.STR += 2
usr.DEF += 1
usr.health=src.maxhealth
usr<<"Your stats increase!"

//I need a good monster code to work with this becuase my other code got weird. Can anyone post up the code or show me were I can find one?
1. Be more specific
2. NEVER use usr in procs.
3. You don't need else ..()
4. Please read the DM Guide / Search for RPG tutorials.