monof Posted June 5, 2016 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 08/10/13 Last Seen: April 15, 2017 Share Posted June 5, 2016 Good afternoon, I have a question. I'm using the last rAthena in pre-re. When I use autospells (for exemple auto casting Metero Storm with Bloody Knight Card), a delay is applied. How can I delete this delay only for autospells ?Thank you. Quote Link to comment Share on other sites More sharing options...
0 Playtester Posted June 7, 2016 Group: Developer Topic Count: 37 Topics Per Day: 0.01 Content Count: 897 Reputation: 248 Joined: 01/30/13 Last Seen: Monday at 09:07 AM Share Posted June 7, 2016 You'll have to work a bit with the code. I give you one example in skill.c, find: // Autospell when attacking if( sd && !status_isdead(bl) && sd->autospell[0].id ) If you scroll a bit further down inside that block you'll see: //Set canact delay. [Skotlex] ud = unit_bl2ud(src); if (ud) { rate = skill_delayfix(src, skill, autospl_skill_lv); if (DIFF_TICK(ud->canact_tick, tick + rate) < 0){ ud->canact_tick = max(tick + rate, ud->canact_tick); if ( battle_config.display_status_timers && sd ) clif_status_change(src, SI_ACTIONDELAY, 1, rate, 0, 0, 0); } } If you remove that part, you have removed aftercast delay for autospells when attacking. Now you need to do the same for autospell when being hit. The code to be removed actually looks identical so you should be able to find it easily, just search for the comment from Skotlex. Quote Link to comment Share on other sites More sharing options...
Question
monof
Good afternoon,
I have a question. I'm using the last rAthena in pre-re. When I use autospells (for exemple auto casting Metero Storm with Bloody Knight Card), a delay is applied. How can I delete this delay only for autospells ?
Thank you.
Link to comment
Share on other sites
1 answer 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.