Jump to content
  • 0

how to reduce full strip chance?


RN1986

Question


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

how to reduce full strip chance?

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


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

perhap would be this part ?

https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/skill.c

 //Rate in percent
 if ( skillid == ST_FULLSTRIP ) {
  i = 5 + 2*skilllv + (sstatus->dex - tstatus->dex)/5;
 } else if( skillid == SC_STRIPACCESSARY ) {
  i = 12 + 2 * skilllv + (sstatus->dex - tstatus->dex)/5;
 } else {
  i = 5 + 5*skilllv + (sstatus->dex - tstatus->dex)/5;
 }
 if (i < 5) i = 5; //Minimum rate 5%

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

sir Emistry how can i deacrese it?

i will just change thi?

if (i < 5) i = 5; //Minimum rate 5%

into exmaple?

if (i < 2) i = 2; //Minimum rate 2%

Link to comment
Share on other sites


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

change the formula for rate calculation here...

 i = 5 + 2*skilllv + (sstatus->dex - tstatus->dex)/5;

the part u mention above just for Minimum Rate...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  153
  • Topics Per Day:  0.03
  • Content Count:  439
  • Reputation:   2
  • Joined:  05/04/12
  • Last Seen:  

ahh i see thank you very much sir Emistry ^_^

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