Jump to content
  • 0

Change Max Stat Parameter for A class


Soulworld

Question


  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  24
  • Reputation:   0
  • Joined:  12/07/12
  • Last Seen:  

I was wodering if this is possible... for example to make the Sniper class capable of going up to 120 Stats intead of 99, or to just change DEX limit to 120 instead.

I was trying to do it using a custom status but it doesnt seem to work since stats are defined in pc.h and... well it doesnt look like it can limit the STats to a particular Status and instead it defines a global parameter

seems like I'm The only one arround here for christmas xD... anyway... I actually found a way... here is a little how to:

Inside pc.c

find the function : pc_statusup

Declare a new condition right before

max = pc_maxparameter(sd);

and dont forget to do Else right after that (otherwise you will pretty much overwrite what you did lol) in other words the code should look like this:

if(condition){max = yourvalue;}
//Tadaaa
else{max = pc_maxparameter(sd);}

I know this is not much of a help but... its all I can contribute right now :(

SOLVED!

Edited by Soulworld
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...