Rage Guy Posted June 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Share Posted June 1, 2013 I Want make double strafe less damage how ? Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 1, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 1, 2013 Try this; trunk/src/map/battle.c Find: case AC_DOUBLE: case MA_DOUBLE: skillratio += 10*(skill_lv-1); Change the 10* to decrease. For example; case AC_DOUBLE: case MA_DOUBLE: skillratio += 8*(skill_lv-1); Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 1, 2013 And i want Sonic skill less stronger to xD Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 1, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 1, 2013 Find: case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 50 / 100; break; Replace: case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 40 / 80; break; Try this. Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 1, 2013 i want make it 50% lower not like that more lower Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 1, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 1, 2013 For double strafe: case AC_DOUBLE: case MA_DOUBLE: skillratio += 5*(skill_lv-1); Sonic Blow: case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 25 / 50; break; Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 1, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 1, 2013 can i make it 40% sorry for wasting ur time but i got the skill to strong so i want make it low damage Quote Link to comment Share on other sites More sharing options...
DeadlySilence Posted June 2, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share Posted June 2, 2013 (edited) case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 50 / 100; break; to case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 50 / 100; hitrate = hitrate * 40 / 100 break; and case MA_DOUBLE: skillratio += 10*(skill_lv-1); break; to case MA_DOUBLE: skillratio += 4*(skill_lv-1); break; should do the trick. By the way: hitrate += hitrate * 25 / 50; equals hitrate += hitrate * 50 / 100; so there was no difference at all. Oh and it also only applied to the Sonic Acceleration bonus. Edited June 2, 2013 by DeadlySilence Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 2, 2013 For double strafe: case AC_DOUBLE: case MA_DOUBLE: skillratio += 4*(skill_lv-1); Sonic Blow: case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 20 / 40; break; Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted June 2, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted June 2, 2013 ? LOL ? ITS WORKING WITH ME [ ALL OF IT ] ? LOL ? ITS WORKING WITH ME [ ALL OF IT ] this one is not case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 40 / 100;break; its more stronger than te * 40 / 80; Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 2, 2013 That's not mine, I said; case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 20 / 40; break; Quote Link to comment Share on other sites More sharing options...
DeadlySilence Posted June 2, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share Posted June 2, 2013 (edited) That's not mine, I said; case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) hitrate += hitrate * 20 / 40; break; Which is totally wrong as I already said in my last post. Here's an example: Let hitrate be 100. 100 * 50 / 100 = 50 (original formula) 100 * 20 /40 = 50 (your formula) It also only applies to the Sonic Acceleration bonus, not the actual damage. // edit: Wait, isn't hitrate just the chance to hit and not the damage? //edit2: This should work now. case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) ATK_ADDRATE(10); break; to case AS_SONICBLOW: if(sd && pc_checkskill(sd,AS_SONICACCEL)>0) ATK_ADDRATE(10); ATK_RATE(40); break; case AC_DOUBLE: case MA_DOUBLE: ATK_RATE(40); break; as Double Strafe doesn't seem to have any damage modification except the skill level based one. Edited June 2, 2013 by DeadlySilence Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 2, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 2, 2013 I didnt test it but like what he reply to your post; ? LOL ? ITS WORKING WITH ME [ ALL OF IT ] ? LOL ? ITS WORKING WITH ME [ ALL OF IT ] Quote Link to comment Share on other sites More sharing options...
DeadlySilence Posted June 2, 2013 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 181 Reputation: 53 Joined: 04/07/13 Last Seen: August 23, 2014 Share Posted June 2, 2013 (edited) From what I can read out of the source he must be mistaken ^^ Everything with "hitrate" should just modify the chance to hit, not the actual damage. I couldn't test it because I have no working client, though. But I am sure it should not affect the damage. Edited June 2, 2013 by DeadlySilence Quote Link to comment Share on other sites More sharing options...
Question
Rage Guy
I Want make double strafe less damage how ?
Link to comment
Share on other sites
13 answers 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.