Myth 1 Posted July 24, 2013 how to make cloaking lvl 3 instead of hiding status? Quote Share this post Link to post Share on other sites
0 sphkz 0 Posted July 24, 2013 (edited) 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 July 24, 2013 by sphkz Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 25, 2013 because i already change skill->castend_nodamage_id(src,src,AS_CLOAKING,1,tick,0x2); it only cloak in wall Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 25, 2013 still the same it only cloak in the wall Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 25, 2013 use level 5 even you put level 5 you will only cloak when you are in a wall Quote Share this post Link to post Share on other sites
0 malufett 247 Posted July 26, 2013 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; Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 26, 2013 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)); Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 26, 2013 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; Quote Share this post Link to post Share on other sites
0 quesoph 105 Posted July 26, 2013 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; Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 26, 2013 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)); Quote Share this post Link to post Share on other sites
0 Myth 1 Posted July 28, 2013 i want to be like this just like cloaking but only hides in 3 seconds and he can cast a skill http://www.dailymotion.com/video/x12ejr8_feint-bomb-shadow-chaser_videogames this shot is from pRO Quote Share this post Link to post Share on other sites
how to make cloaking lvl 3 instead of hiding status?
Share this post
Link to post
Share on other sites