K1NGRAFFY Posted September 20, 2018 Group: Members Topic Count: 12 Topics Per Day: 0.00 Content Count: 52 Reputation: 3 Joined: 04/23/17 Last Seen: July 20, 2020 Share Posted September 20, 2018 How to change the chance of single strip?? Quote Link to comment Share on other sites More sharing options...
0 xyxzero Posted September 21, 2018 Group: Members Topic Count: 23 Topics Per Day: 0.01 Content Count: 90 Reputation: 6 Joined: 12/11/12 Last Seen: December 11, 2018 Share Posted September 21, 2018 inside rAthena/src/map/skill.c find case RG_STRIPWEAPON: case RG_STRIPSHIELD: case RG_STRIPARMOR: case RG_STRIPHELM: case ST_FULLSTRIP: case GC_WEAPONCRUSH: case SC_STRIPACCESSARY: { unsigned short location = 0; int d = 0; //Rate in percent if ( skill_id == ST_FULLSTRIP ) { i = 5 + 2*skill_lv + (sstatus->dex - tstatus->dex)/5; } else if( skill_id == SC_STRIPACCESSARY ) { i = 12 + 2 * skill_lv + (sstatus->dex - tstatus->dex)/5; } else { i = 5 + 5*skill_lv + (sstatus->dex - tstatus->dex)/5; } if (i < 5) i = 5; //Minimum rate 5% edit this part } else { i = 5 + 5*skill_lv + (sstatus->dex - tstatus->dex)/5; Quote Link to comment Share on other sites More sharing options...
Question
K1NGRAFFY
How to change the chance of single strip??
Link to comment
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.