Myth Posted August 16, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Share Posted August 16, 2013 how can i disable feint bomb while inside the land protector example when a shadow chaser feint bomb inside the area of land protector the skill feint bomb will be "Skill is Failed" Quote Link to comment Share on other sites More sharing options...
chowking Posted August 19, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share Posted August 19, 2013 there is a part from skill.c that checks cells for land protector, copy that and modify it to work for feint bombthen clif_displaymessage(sd->fd,"skill has failed."); Quote Link to comment Share on other sites More sharing options...
Myth Posted August 20, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Author Share Posted August 20, 2013 specific code? Quote Link to comment Share on other sites More sharing options...
chowking Posted August 21, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share Posted August 21, 2013 (edited) try this: index: src/map/skill.c case SC_FEINTBOMB: if( map_getcell(src->m, x, y, CELL_CHKLANDPROTECTOR) ) { clif_skill_fail(sd,skill_id,USESKILL_FAIL,0); return 0; } else { clif_skill_nodamage(src,src,skill_id,skill_lv,1); skill_unitsetting(src,skill_id,skill_lv,x,y,0); // Set bomb on current Position if( skill_blown(src,src,6,unit_getdir(src),0) ) skill_castend_nodamage_id(src,src,TF_HIDING,1,tick,0); } break; don't forget to recompile Edited August 21, 2013 by chowking Quote Link to comment Share on other sites More sharing options...
Myth Posted August 24, 2013 Group: Members Topic Count: 59 Topics Per Day: 0.01 Content Count: 225 Reputation: 5 Joined: 05/30/12 Last Seen: March 21 Author Share Posted August 24, 2013 not working >..\src\map\skill.c(10231): warning C4013: 'map_getcell' undefined; assuming extern returning int 1>..\src\map\skill.c(10232): warning C4013: 'clif_skill_fail' undefined; assuming extern returning int 1>..\src\map\skill.c(10236): warning C4013: 'clif_skill_nodamage' undefined; assuming extern returning int Quote Link to comment Share on other sites More sharing options...
chowking Posted August 24, 2013 Group: Members Topic Count: 32 Topics Per Day: 0.01 Content Count: 178 Reputation: 17 Joined: 06/25/12 Last Seen: September 22, 2022 Share Posted August 24, 2013 (edited) then try your other post http://rathena.org/board/topic/85483-land-protector/?hl=%2Bfeint+%2Bbomb\ just noticed that our fix was just the same :/ i'll do some tests about this (you do some too) if i've got time Edited August 24, 2013 by chowking Quote Link to comment Share on other sites More sharing options...
Question
Myth
how can i disable feint bomb while inside the land protector example when a shadow chaser feint bomb inside the area of land protector the skill feint bomb will be "Skill is Failed"
Link to comment
Share on other sites
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.