lovingangels Posted June 4, 2013 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
uDe Posted June 4, 2013 Posted June 4, 2013 Normal attack you mean? I think that's Sonic Blow skill behavior.. Quote
Jaburak Posted June 4, 2013 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
ICEROCK Posted June 4, 2013 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
lovingangels Posted June 5, 2013 Author 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
uDe Posted June 6, 2013 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
ICEROCK Posted June 6, 2013 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
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!
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.