Jump to content
  • 0
Myth

feint bomb of shadow chaser

Question

20 answers to this question

Recommended Posts

  • 0

Open line 10346 @ /src/map/skill.c

 

 

change: skill->castend_nodamage_id(src,src,TF_HIDING,1,tick,0x2);to: skill->castend_nodamage_id(src,src,AS_CLOAKING,3,tick,0x2);
Edited by sphkz

Share this post


Link to post
Share on other sites
  • 0

use this :

    sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3));

then change this:

 

case SC_CLOAKING:  //Avoid cloaking with no wall and low skill level. [Skotlex]  //Due to the cloaking card, we have to check the wall versus to known  //skill level rather than the used one. [Skotlex]  //if (sd && val1 < 3 && skill_check_cloaking(bl,NULL))  if( sd && pc->checkskill(sd, AS_CLOAKING) < 3 && !skill->check_cloaking(bl,NULL) )   return 0;  break;

to

 

case SC_CLOAKING:  if( val2 ) break;  //Avoid cloaking with no wall and low skill level. [Skotlex]  //Due to the cloaking card, we have to check the wall versus to known  //skill level rather than the used one. [Skotlex]  //if (sd && val1 < 3 && skill_check_cloaking(bl,NULL))  if( sd && pc->checkskill(sd, AS_CLOAKING) < 3 && !skill->check_cloaking(bl,NULL) )   return 0;  break;

 

:meow:

Share this post


Link to post
Share on other sites
  • 0

where i will put this? or i will add this thing in my skill.c?

 

    sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3));

Share this post


Link to post
Share on other sites
  • 0

 

 
There is no such this as this
 

 

case SC_CLOAKING:

  //Avoid cloaking with no wall and low skill level. [skotlex]

  //Due to the cloaking card, we have to check the wall versus to known

  //skill level rather than the used one. [skotlex]

  //if (sd && val1 < 3 && skill_check_cloaking(bl,NULL))

  if( sd && pc->checkskill(sd, AS_CLOAKING) < 3 && !skill->check_cloaking(bl,NULL) )

return 0;

  break;

Share this post


Link to post
Share on other sites
  • 0

skill.c

sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3));

status.c

 

case SC_CLOAKING:if( val2 ) break;  //Avoid cloaking with no wall and low skill level. [Skotlex]  //Due to the cloaking card, we have to check the wall versus to known  //skill level rather than the used one. [Skotlex]  //if (sd && val1 < 3 && skill_check_cloaking(bl,NULL))  if( sd && pc->checkskill(sd, AS_CLOAKING) < 3 && !skill->check_cloaking(bl,NULL) )   return 0;  break;

Share this post


Link to post
Share on other sites
  • 0

 

skill.c

 

sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3));

status.c

 

case SC_CLOAKING:if( val2 ) break;  //Avoid cloaking with no wall and low skill level. [Skotlex]  //Due to the cloaking card, we have to check the wall versus to known  //skill level rather than the used one. [Skotlex]  //if (sd && val1 < 3 && skill_check_cloaking(bl,NULL))  if( sd && pc->checkskill(sd, AS_CLOAKING) < 3 && !skill->check_cloaking(bl,NULL) )   return 0;  break;

 

 

ill replace 

 

skill->castend_nodamage_id(src,src,AS_CLOAKING,1,tick,0x2); 

with this?

 

  sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3)); 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.