feint bomb of shadow chaser

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

Code:
change: skill->castend_nodamage_id(src,src,TF_HIDING,1,tick,0x2);to: skill->castend_nodamage_id(src,src,AS_CLOAKING,3,tick,0x2);
 
Last edited by a moderator:
because i already change 

skill->castend_nodamage_id(src,src,AS_CLOAKING,1,tick,0x2); 
it only cloak in wall

 
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;

default_ani_meow.gif


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

Code:
    sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3));
 
 
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;
 
skill.c

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

Code:
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;
 
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?

Code:
  sc_start2(src, SC_CLOAKING, 100, 3, 1, skill->get_time(AS_CLOAKING, 3)); 
 
Back
Top