Ukiram Posted April 24, 2019 Share Posted April 24, 2019 Hello. Any source mod I can do so when a Professor casts Spider Web on a Champion, he won't be able to move away using Body Relocation? Quote Link to comment Share on other sites More sharing options...
0 anacondaq Posted April 25, 2019 Share Posted April 25, 2019 (edited) open skill.cpp Find case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 2, 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; Replace to: case MO_BODYRELOCATION: // Block skill usage while you have SC_SPIDERWEB status if(sc&& sc->data[SC_SPIDERWEB]) break; if (unit_movepos(src, x, y, 2, 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; Edited April 25, 2019 by anacondaq 1 Quote Link to comment Share on other sites More sharing options...
0 Ukiram Posted April 25, 2019 Author Share Posted April 25, 2019 8 hours ago, anacondaq said: open skill.cpp Find case MO_BODYRELOCATION: if (unit_movepos(src, x, y, 2, 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; Replace to: case MO_BODYRELOCATION: // Block skill usage while you have SC_SPIDERWEB status if(sc&& sc->data[SC_SPIDERWEB]) break; if (unit_movepos(src, x, y, 2, 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; THANK YOU FOR THIS. I WILL TRY THIS. THIS WILL BE SUPER APPRECIATED. Quote Link to comment Share on other sites More sharing options...
-1 DevKira Posted October 14, 2019 Share Posted October 14, 2019 @anacondaq hi, how if Sniper Ankle Snare? Thanks Quote Link to comment Share on other sites More sharing options...
Hello. Any source mod I can do so when a Professor casts Spider Web on a Champion, he won't be able to move away using Body Relocation?
Link to comment
Share on other sites