ID:269751
 
Hi i'm trying to make a Skill Points system.

mob
proc
Level()
if(usr.Exp>=usr.MaxExp)


When you level up you get 5 stat points to level up Hitpoints, Strength and defense. Could anyone help me out ?
Do you mean that you get skill points that YOU decide which stat to raise? If so :
mob
proc
Level()
if(src.Exp >= src.Maxexp)
src.exp = 0//change the exp back to zero so they can level up the next time
src.maxexp * 2//you might want to increase their maxexp so they wont get quick level ups everytime
src.level += 1//increase their level
src.statpoints+=5//give them 5 statpoints

mob
proc
Raise_Stats()
if(src.stapoints >= 1)//check to see if they have any statpoints
switch(input("Which stat to raise?") in list ("hp","str","def"))//gives them a list of stats to raise
if("hp")
src.maxhp+= 5//gives them 5 more maxhp
src.Raise_Stats()//runs the proc again. Because of the if at the top, if they don't have statpoints, the proc will end
else
src << "You don't have any statpoints!"


Note : Some vars may not be capitalized and the snippet isn't completely spaced properly. Hope that helps..
In response to Mecha Destroyer JD
Yeah thats what I ment thanks alot :D