ID:271106
 
Just need to get this outta my mind.

Say when I levelup, I get 10 stat points to put into any of my 4 stats.

HP, MP, Defense, and Strength.

And if a point is put into HP it adds 10, and if you put one point to MP, it raises it by 5, but if a point is added to Strength or Defense, it raises that one by 1 point.

How would I make this?

Thanks.
In response to Shadowkaroth
usr.hp ++

basicly that adds 1 for every piont and this

usr.maxhp +=5
usr.hp += 5

And u need both of thosue to add 5 to your self
In response to Shadowkaroth
Thanks I guess, but I was expecting a good explanation, guess this'll do...
In response to King of Slimes
I think you should read some tutorials there won't be someone around to give you the answers every time.
In response to A.T.H.K
Okay, thanks ATHK.

I was just saying that 'usr.maxhp+=6' or whatever wouldn't help much, because that doesn't tell me much at all.

Still, time to RESEARCH!