Jump to content
  • 0

Statpoint Distribution


Ninja

Question


  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  513
  • Reputation:   83
  • Joined:  08/11/12
  • Last Seen:  

Hi

I just wanna ask which part of the source code is stat point distribution located?

I've seen pc.c: (in this case for agi)

pc_setparam section

case SP_AGI:
	statlimit = pc_maxparameter(sd);
	sd->status.agi = cap_value(val, 1, statlimit);
	break;

I wanted to mod the stat system so that a particular stat grows every level aside from having the player allocate statpoints.

a hint about this and i'll do the rest :)

Edited by jezznar
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...