Jump to content
  • 0

R>how to turn dragon breath skill to autocast while melee with chance


Emad

Question


  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  05/22/14
  • Last Seen:  

i tried some coding but did not find yet . i want to to turn dragonbreath to chance to autocast while melee damage only per level increase chance and i made it passive btw so i want the coding script thanks

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

github.com/rathena/rathena/blob/master/src/map/battle.cpp

SC_AUTOSPELL - autospell from sage

Just do same way

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  46
  • Topics Per Day:  0.01
  • Content Count:  109
  • Reputation:   0
  • Joined:  05/22/14
  • Last Seen:  

7 hours ago, botka4aet said:

github.com/rathena/rathena/blob/master/src/map/battle.cpp

SC_AUTOSPELL - autospell from sage

Just do same way

i replaced the original sc_autospell to rk dragonbreath for test but did not work??

if (sc && sc->data[RK_DRAGONBREATH] && rnd()%100 < sc->data[RK_DRAGONBREATH]->val4) {
        int sp = 0;
        uint16 skill_id = sc->data[RK_DRAGONBREATH]->val2;
        uint16 skill_lv = sc->data[RK_DRAGONBREATH]->val3;
        int i = rnd()%100;


btw dragonbreath i made it passive i don't want the select window from autospell just only level the skill and chance get up and autocast when melee 

Edited by emadkm
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

No, it's not so easy: autospell - active skill, that add status. And if status active - you'll get autoskill

But you need check - if you learned skill

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