rewindz Posted June 7, 2015 Share Posted June 7, 2015 how can i remove casting bar on KN_AUTOCOUNTER ? try to look around on skill_cast_db.txt, but nothing change.. //-- KN_AUTOCOUNTER 61,0,0,0,0,0,0 try to edit src file... - dmg is done to myself without duration bar when i've to try to comment this line (line:3243) on Skill.c case KN_AUTOCOUNTER: clif->skill_nodamage(src,target,skl->skill_id,skl->skill_lv,1); break; - can walk when i use skill and don't do any damage to mobs, but durationbar still appear with comment this line(line:5910) on Skill.c case KN_AUTOCOUNTER: sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)); skill->addtimerskill(src, tick + 100, bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag); break; Quote Link to comment Share on other sites More sharing options...
Napster Posted June 9, 2015 Share Posted June 9, 2015 oops, sorry try check in fucntion skill_timerskill , skill.cfind switch(skl->skill_id) { case KN_AUTOCOUNTER: clif_skill_nodamage(src,target,skl->skill_id,skl->skill_lv,1); break; add to switch(skl->skill_id) { case KN_AUTOCOUNTER: clif_skill_nodamage(src,target,skl->skill_id,skl->skill_lv,1); clif_skillcastcancel(src); //Remove the casting bar. break; but i'am not test try check again Quote Link to comment Share on other sites More sharing options...
rewindz Posted June 8, 2015 Author Share Posted June 8, 2015 bump ! Quote Link to comment Share on other sites More sharing options...
Napster Posted June 9, 2015 Share Posted June 9, 2015 Add toclif_skillcastcancel(src); //Remove the casting bar. case KN_AUTOCOUNTER: clif_skillcastcancel(src); //Remove the casting bar. sc_start(src,bl,type,100,skill_lv,skill->get_time(skill_id,skill_lv)); skill->addtimerskill(src, tick + 100, bl->id, 0, 0, skill_id, skill_lv, BF_WEAPON, flag); break; Quote Link to comment Share on other sites More sharing options...
rewindz Posted June 9, 2015 Author Share Posted June 9, 2015 (edited) thanks @Napster ! i'll test and update soon Nothing happened... Edited June 9, 2015 by rewindz Quote Link to comment Share on other sites More sharing options...
rewindz Posted June 9, 2015 Author Share Posted June 9, 2015 solved ! thanks my lord i spent the time about 3 weeks for only one line. (clif_skillcastcancel(src); //Remove the casting bar. ) Quote Link to comment Share on other sites More sharing options...
how can i remove casting bar on KN_AUTOCOUNTER ?
try to look around on skill_cast_db.txt, but nothing change..
try to edit src file...
- dmg is done to myself without duration bar when i've to try to comment this line (line:3243) on Skill.c
Link to comment
Share on other sites