Jump to content
  • 0

KN_AUTOCOUNTER casting bar


rewindz

Question


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/24/12
  • Last Seen:  

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;

 

 

 
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/24/12
  • Last Seen:  

bump !

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  196
  • Reputation:   72
  • Joined:  12/12/11
  • Last Seen:  

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;
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/24/12
  • Last Seen:  

thanks @Napster ! 

 i'll test and update soon  /no1

 

 

Nothing happened...

Edited by rewindz
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   0
  • Joined:  03/24/12
  • Last Seen:  

solved !

thanks my lord /kis 

i spent the time about 3 weeks for only one line. (clif_skillcastcancel(src); //Remove the casting bar. )

Link to comment
Share on other sites

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.

×
×
  • Create New...