find this function on skill.cpp
case MO_BODYRELOCATION:
if (unit_movepos(src, x, y, 2, 1)) {
then add before the if (unit_movepos(src, x, y, 2, 1)) {
case MO_BODYRELOCATION:
+ // Block skill usage while you are under spider web, ankle snare & close confine
+ if(sc && (sc->data[SC_SPIDERWEB] || sc->data[SC_ANKLE] || sc->data[SC_CLOSECONFINE2]))
+ break;
if (unit_movepos(src, x, y, 2, 1))
then recompile.