Emad Posted February 2, 2021 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 05/22/14 Last Seen: July 27, 2021 Share Posted February 2, 2021 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 Quote Link to comment Share on other sites More sharing options...
0 botka4aet Posted February 3, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted February 3, 2021 github.com/rathena/rathena/blob/master/src/map/battle.cpp SC_AUTOSPELL - autospell from sage Just do same way Quote Link to comment Share on other sites More sharing options...
0 Emad Posted February 3, 2021 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 109 Reputation: 0 Joined: 05/22/14 Last Seen: July 27, 2021 Author Share Posted February 3, 2021 (edited) 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 February 3, 2021 by emadkm Quote Link to comment Share on other sites More sharing options...
0 botka4aet Posted February 4, 2021 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 211 Reputation: 17 Joined: 12/23/11 Last Seen: June 11, 2024 Share Posted February 4, 2021 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 Quote Link to comment Share on other sites More sharing options...
Question
Emad
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.