Jump to content
  • 0

Rejected Sword


Hyoru

Question


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

Hi,

how can i edit Rejected Sword to give ATKRATE ? I mean +20% Atk Rate, but still doing the normal effect plus 20% ATK.

and how can i remove the sonic blow effect of sinx soul link?

Thanks Adv.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

For the Sonic Blow part, go here: https://rathena.svn....rc/map/battle.c

Find:

if (sc && sc->data[sC_SPIRIT] &&
 sc->data[sC_SPIRIT]->val2 == SL_ASSASIN)
 ATK_ADDRATE(map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe

This is the whole code:

case AS_SONICBLOW:
if (sc && sc->data[sC_SPIRIT] &&
 sc->data[sC_SPIRIT]->val2 == SL_ASSASIN)
 ATK_ADDRATE(map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe
if(sd && pc_checkskill(sd,AS_SONICACCEL)>0)
 ATK_ADDRATE(10);

And just remove this part:

if (sc && sc->data[sC_SPIRIT] &&
 sc->data[sC_SPIRIT]->val2 == SL_ASSASIN)
 ATK_ADDRATE(map_flag_gvg(src->m)?25:100); //+25% dmg on woe/+100% dmg on nonwoe

So that you're left with:

case AS_SONICBLOW:

if(sd && pc_checkskill(sd,AS_SONICACCEL)>0)
 ATK_ADDRATE(10);

That should stop the extra damage output from Soul Link spirit. Also, you could always lower the damage.

As for Reject sword.. I'm not quite clear on what you really mean =/

Edited by Mysterious
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

Thank you so much!

about the rejected sword,

The atq power of Stalker are really low, and i want to raise it with some skill that stalker already have, besides the normal effect + 20% damage.

Don't need to be Rejected Sword, can be any skill of Stalker, Passive too. Just need to add 20% atq damage.

Thanks adv,

Hyoru.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

Well.. still looking in: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/src/map/battle.c

You could always raise the power to a skill in this configuration. So going down towards RG_RAID, it states:

case RG_RAID:
 skillratio += 40*skill_lv;
 break;

You could always change that 40 to a 100 or w.e suits your needs. But don't forget that the power increases * (times) the skill level.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

but that is the atkrate of skill, cant give for basic attacks?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

I think this is what you're looking for then: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk/db/re/job_db1.txt

Increase the attack damage based on the weapon being handled.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

:o sorry my mistake.

Solved!

Just one more thing,

based on

skillratio += 40*skill_lv;

where can i raise the damage of Magic Crasher? Thanks so much Mysterious!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

:o sorry my mistake.

Solved!

Just one more thing,

based on

skillratio += 40*skill_lv;

where can i raise the damage of Magic Crasher? Thanks so much Mysterious!

No problem lol

I'm not 100% sure.. but I think you can make it yourself..

by finding:

case HW_NAPALMVULCAN:
  skillratio += 10*skill_lv-30;
  break;

and adding this:

case HW_MAGICCRASHER:
  skillratio += 40*skill_lv;
  break;

right under it =/

I'm not 100% sure this will work so test it at your own will.

Edited by Mysterious
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  45
  • Topics Per Day:  0.01
  • Content Count:  122
  • Reputation:   11
  • Joined:  01/30/12
  • Last Seen:  

Thanks! Solved.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   253
  • Joined:  11/11/11
  • Last Seen:  

Thanks! Solved.

Welcome, enjoy xD

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