rewindz Posted June 7, 2015 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
Napster Posted June 9, 2015 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
Napster Posted June 9, 2015 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
rewindz Posted June 9, 2015 Author Posted June 9, 2015 (edited) thanks @Napster ! i'll test and update soon Nothing happened... Edited June 9, 2015 by rewindz Quote
rewindz Posted June 9, 2015 Author 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
Question
rewindz
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
5 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.