Jump to content
  • 0

KN_AUTOCOUNTER casting bar


Question

Posted

how can i remove casting bar on KN_AUTOCOUNTER ?

 

Untitled_zpsgmcflb8v.png

 

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;

 

 

 

5 answers to this question

Recommended Posts

Posted

oops, sorry 

try check in fucntion skill_timerskill , skill.c

find
 

 

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

Posted

Add to

clif_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;

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...