Myth Posted August 16, 2013 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
chowking Posted August 19, 2013 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
chowking Posted August 21, 2013 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
Myth Posted August 24, 2013 Author 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
chowking Posted August 24, 2013 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
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"
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.