Hello! You have already asked about "Body Relocation + Spider Web" and got the solution:
https://rathena.org/board/topic/118958-block-body-relocation-while-spider-web/
But it is without checking the status of "Ankle Snare".
The final solution:
Open ../src/map/skill.cpp and in the function skill_castend_pos2 after:
case MO_BODYRELOCATION:
if (unit_movepos(src, x, y, 2, 1)) {
add:
if(sc && (sc->data[SC_SPIDERWEB] || sc->data[SC_ANKLE]))
break;