Jump to content
  • 0

SC in status.hpp of Radius


JaranSwitch0101

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   5
  • Joined:  07/02/18
  • Last Seen:  

I want make buff for skill Radius.... http://wl-radius.gif

But i don't know name SC of Radius in status.hpp

If someone know it's name...please,tell me

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Developer
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  292
  • Reputation:   199
  • Joined:  05/03/13
  • Last Seen:  

https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L375 you could add a multipler to this line.

For example „*2“ would double the range per level.

But it‘s maybe easier to edit the spell in DB directly.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.01
  • Content Count:  59
  • Reputation:   5
  • Joined:  07/02/18
  • Last Seen:  

1 hour ago, Normynator said:

https://github.com/rathena/rathena/blob/master/src/map/skill.cpp#L375 you could add a multipler to this line.

For example „*2“ would double the range per level.

But it‘s maybe easier to edit the spell in DB directly.

No,You misunderstand! I'm want make NPC buff ...but i don't know name SC of Radius Skill in status.hpp 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  18
  • Topics Per Day:  0.01
  • Content Count:  154
  • Reputation:   6
  • Joined:  10/14/17
  • Last Seen:  

Its because its not a status /wah

you can often find passives in your battle.c and stuff

 

go to Skill.c

 

       if (sd && skill_id >= WL_WHITEIMPRISON && skill_id < WL_FREEZE_SP) {
            int radius_lv = pc->checkskill(sd, WL_RADIUS);
            if (radius_lv)
                fixcast_r = max(fixcast_r, (status_get_int(bl) + status->get_lv(bl)) / 15 + radius_lv * 5); // [{(Caster?s INT / 15) + (Caster?s Base Level / 15) + (Radius Skill Level x 5)}] %
        }

 

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