Jump to content
  • 0

Double Strafe Damag


Rage Guy

Question


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

 I Want make double strafe less damage how ?

Link to comment
Share on other sites

13 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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);
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

And i want Sonic skill less stronger to

xD

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

i want make it 50% lower not like that more lower

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

can i make it 40% sorry for wasting ur time but i got the skill to strong so i want make it low damage

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

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 by DeadlySilence
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  113
  • Topics Per Day:  0.03
  • Content Count:  354
  • Reputation:   3
  • Joined:  02/17/13
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

That's not mine, I said;

case AS_SONICBLOW:
    if(sd && pc_checkskill(sd,AS_SONICACCEL)>0)
        hitrate += hitrate * 20 / 40;
break;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

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 by DeadlySilence
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  48
  • Topics Per Day:  0.01
  • Content Count:  1125
  • Reputation:   236
  • Joined:  07/30/12
  • Last Seen:  

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 ]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  181
  • Reputation:   53
  • Joined:  04/07/13
  • Last Seen:  

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