lovingangels Posted June 4, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/27/11 Last Seen: March 9, 2014 Share Posted June 4, 2013 Good day guys! I wanted my injustice card in my server to attack continuously after Sonic Blow is casted. 4268,Injustice_Card,Injustice Card,6,20,,10,,,,,,,,2,,,,,{ bonus3 bAutoSpell,"AS_SONICBLOW",10,50; if(isequipped(4277)) { bonus bBaseAtk,20; bonus bLuk,3; } },{},{} I appreciate the help! Quote Link to comment Share on other sites More sharing options...
uDe Posted June 4, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted June 4, 2013 Normal attack you mean? I think that's Sonic Blow skill behavior.. Quote Link to comment Share on other sites More sharing options...
Jaburak Posted June 4, 2013 Group: Members Topic Count: 48 Topics Per Day: 0.01 Content Count: 1125 Reputation: 236 Joined: 07/30/12 Last Seen: April 13 Share Posted June 4, 2013 Try this; trunk/db/re/skill_cast_db.txt Find: //-- AS_SONICBLOW 136,0,0,2000,0,5000,0,-1 Change to: //-- AS_SONICBLOW 136,0,0,0,0,5000,0,-1 Quote Link to comment Share on other sites More sharing options...
ICEROCK Posted June 4, 2013 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 228 Reputation: 33 Joined: 11/15/12 Last Seen: July 22, 2016 Share Posted June 4, 2013 (edited) Location: skill.c remove or comment out that line if (skill == AS_SONICBLOW) pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. Edited June 4, 2013 by Keloyds Quote Link to comment Share on other sites More sharing options...
lovingangels Posted June 5, 2013 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 5 Reputation: 0 Joined: 12/27/11 Last Seen: March 9, 2014 Author Share Posted June 5, 2013 Try this; trunk/db/re/skill_cast_db.txt Find: //-- AS_SONICBLOW 136,0,0,2000,0,5000,0,-1 Change to: //-- AS_SONICBLOW 136,0,0,0,0,5000,0,-1 Will try this. Thanks! Location: skill.c remove or comment out that line if (skill == AS_SONICBLOW) pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. I don't get this but i will figure it out. thanks. Quote Link to comment Share on other sites More sharing options...
uDe Posted June 6, 2013 Group: Members Topic Count: 43 Topics Per Day: 0.01 Content Count: 400 Reputation: 5 Joined: 12/05/11 Last Seen: September 27, 2015 Share Posted June 6, 2013 (edited) Location: skill.c remove or comment out that line if (skill == AS_SONICBLOW) pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. I don't get this but i will figure it out. thanks. In trunk/src/map/skill.c Find those line and remove or comment (//) that lines. And it should be looking like this if( battle_config.autospell_check_range && !battle_check_range(src, tbl, skill_get_range2(src, skill,skill_lv) + (skill == RG_CLOSECONFINE?0:1)) ) continue; // if (skill == AS_SONICBLOW) // pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. // else if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding. type = CAST_GROUND; sd->state.autocast = 1; skill_consume_requirement(sd,skill,skill_lv,1); skill_toggle_magicpower(src, skill); switch (type) { or this if( battle_config.autospell_check_range && !battle_check_range(src, tbl, skill_get_range2(src, skill,skill_lv) + (skill == RG_CLOSECONFINE?0:1)) ) continue; if (skill == PF_SPIDERWEB) //Special case, due to its nature of coding. type = CAST_GROUND; sd->state.autocast = 1; skill_consume_requirement(sd,skill,skill_lv,1); skill_toggle_magicpower(src, skill); switch (type) { And don't forget to re-compile your server. Correct me if I'm wrong. Edited June 6, 2013 by uDe Quote Link to comment Share on other sites More sharing options...
ICEROCK Posted June 6, 2013 Group: Members Topic Count: 46 Topics Per Day: 0.01 Content Count: 228 Reputation: 33 Joined: 11/15/12 Last Seen: July 22, 2016 Share Posted June 6, 2013 (edited) Look for: if (skill == AS_SONICBLOW) pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. Change to this: if (skill == AS_SONICBLOW) // pc_stop_attack(sd); //Special case, Sonic Blow autospell should stop the player attacking. Edited June 6, 2013 by Keloyds Quote Link to comment Share on other sites More sharing options...
Question
lovingangels
Good day guys!
I wanted my injustice card in my server to attack continuously after Sonic Blow is casted.
I appreciate the help!
Link to comment
Share on other sites
6 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.