I would like to ask how will I be able to edit Wall of Fog to only affect enemies inside the fog?
Allies will not have a chance to skill fail.
Here is my current source code.
Thank you
if((sc = status_get_sc(target))&&(inf2&BCT_PARTY||inf2&BCT_GUILD)&&
sc->data[SC_FOGWALL]&&
rand()%100<75){//Fogwall makes all offensive-type targetted skills fail at 75%if(sd) clif_skill_fail(sd,ud->skillid,USESKILL_FAIL_LEVEL,0);break;}else{if((sc = status_get_sc(target))&&
sc->data[SC_FOGWALL]&&
rand()%100<75){//Fogwall makes all offensive-type targetted skills fail at 75%if(sd) clif_skill_fail(sd,ud->skillid,USESKILL_FAIL_LEVEL,0);break;}}
Question
letstry
Im currently using eAthena SVN.
I would like to ask how will I be able to edit Wall of Fog to only affect enemies inside the fog?
Allies will not have a chance to skill fail.
Here is my current source code.
Thank you
Link to comment
Share on other sites
1 answer 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.