Jump to content
  • 0

how to Set Max 6k SP Cap?


Question

Posted

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);

6 answers to this question

Recommended Posts

Posted

try

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

 

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

Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...