Jump to content
  • 0

how to Set Max 6k SP Cap?


trizzy

Question


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  92
  • Reputation:   2
  • Joined:  01/04/15
  • Last Seen:  

i've tried this but nothing happen.

src/battle.c search

case MO_EXTREMITYFIST:
skillratio += 100*(7 + sstatus->sp/10);
skillratio = min(500000,skillratio); //We stop at roughly 50k SP for overflow protection
break;

 

change

skillratio += 100*(7 + sstatus->sp/10);

 

to

skillratio += 100*(7 + min(sstatus->sp,6000)/10);

Link to comment
Share on other sites

6 answers to this question

Recommended Posts


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2346
  • Joined:  10/28/11
  • Last Seen:  

conf/battle/player.conf#L82

// Maximum SP. (Default is 1000000)
max_sp: 1000000
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

try

case MO_EXTREMITYFIST:
	skillratio += 100*(7 + sstatus->sp/10);
	skillratio = min(6000,skillratio); //We stop at roughly 50k SP for overflow protection
	break;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  92
  • Reputation:   2
  • Joined:  01/04/15
  • Last Seen:  

 

try

case MO_EXTREMITYFIST:
	skillratio += 100*(7 + sstatus->sp/10);
	skillratio = min(6000,skillratio); //We stop at roughly 50k SP for overflow protection
	break;

Nothing Changes Sir.

case MO_EXTREMITYFIST:
	skillratio += 100*(7 + sstatus->sp/10);
	skillratio = min(6000,skillratio); //We stop at roughly 50k SP for overflow protection
	break;

i delete also this code and recompile my server and login in game my SP still the same and nothing changes!

Help please. T_T

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

Are you trying to change your max sp limit for your character or the sp limit for the asura calculation?

This was the later, the former would be in your conf files, I believe player.conf stat.conf or battle.conf forget which and on phone

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1443
  • Reputation:   337
  • Joined:  10/17/12
  • Last Seen:  

conf/battle/player.conf#L82

// Maximum SP. (Default is 1000000)
max_sp: 1000000
Ya what he said.

conf/battle/player.conf#L82

// Maximum SP. (Default is 1000000)
max_sp: 1000000
Ya what he said.
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  92
  • Reputation:   2
  • Joined:  01/04/15
  • Last Seen:  

Thanks Emistry and Stolao.

Link to comment
Share on other sites

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...