RumbleRO Posted February 13, 2023 Posted February 13, 2023 Hello! I am currently using the latest rAthena and this seems to be NOT working. I just want to ask if why I am getting this error. Thank you so much! 1 Quote
0 pajodex Posted February 13, 2023 Posted February 13, 2023 try changing `sc->data` into `sc->getSCE`... Quote
0 Katakuri Posted February 13, 2023 Posted February 13, 2023 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. Quote
0 RumbleRO Posted February 13, 2023 Author Posted February 13, 2023 11 minutes ago, Katakuri said: 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. This does not work. That is what is in my attached picture. Quote
0 RumbleRO Posted February 13, 2023 Author Posted February 13, 2023 4 hours ago, pajodex said: try changing `sc->data` into `sc->getSCE`... This is the error sir. Quote
0 RumbleRO Posted February 13, 2023 Author Posted February 13, 2023 case MO_BODYRELOCATION: if(sc && (sc->getSCE(SC_SPIDERWEB) || sc->getSCE(SC_ANKLE))) break; if (unit_movepos(src, x, y, 2, 1)) { Hello. Solved it! Thanks @pajodex @Katakuri 1 Quote
0 Sallycantdance Posted Tuesday at 10:54 AM Posted Tuesday at 10:54 AM On 2/13/2023 at 6:54 PM, RumbleRO said: case MO_BODYRELOCATION: if(sc && (sc->getSCE(SC_SPIDERWEB) || sc->getSCE(SC_ANKLE))) break; if (unit_movepos(src, x, y, 2, 1)) { Hello. Solved it! Thanks @pajodex @Katakuri thank sir! Quote
Question
RumbleRO
Hello! I am currently using the latest rAthena and this seems to be NOT working.
I just want to ask if why I am getting this error. Thank you so much!
6 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.