Mikhail von Hohenheim 1 Posted October 30, 2015 as title suggests,, what i'm trying to do is I would like to merge the src of MO_BODYRELOCATION and SR_RIDEINLIGHTNING,, but whenever i do that,, getting errors,, like when you target the location w/ ride in lightning,, you will be moved also to that location at the same time giving damage,, thanks in advance Quote Share this post Link to post Share on other sites
0 Mikhail von Hohenheim 1 Posted November 1, 2015 Nevermind,, i actually place it on the wrong place,, Here's the code that's working,, case SR_RIDEINLIGHTNING: r = skill->get_splash(skill_id, skill_lv); map->foreachinarea(skill->area_sub, src->m, x-r, y-r, x+r, y+r, BL_CHAR, src, skill_id, skill_lv, tick, flag|BCT_ENEMY|1, skill->castend_damage_id); if (unit->movepos(src, x, y, 1, 1)) { #if PACKETVER >= 20111005 clif->snap(src, src->x, src->y); #else clif->skill_poseffect(src,skill_id,skill_lv,src->x,src->y,tick); #endif if (sd) skill->blockpc_start (sd, MO_EXTREMITYFIST, 2000); } break; Quote Share this post Link to post Share on other sites
as title suggests,,
what i'm trying to do is I would like to merge the src of MO_BODYRELOCATION and SR_RIDEINLIGHTNING,, but whenever i do that,, getting errors,,
like when you target the location w/ ride in lightning,, you will be moved also to that location at the same time giving damage,,
thanks in advance
Share this post
Link to post
Share on other sites