johnbond Posted March 27, 2016 Posted March 27, 2016 Hi guys, I want to ask maybe somebody knows how I can make the eske skill of soul linkers to only be castable to MONSTERS and not to players. 471,9,6,1,0,0x1,0,3,1,no,0,0,0,magic,0,0x0, SL_SKE,EskeIs it a DB modification or a SRC mod?Kindly anyone please show me how we can do this. Thank you. Quote
0 pachupappy Posted March 28, 2016 Posted March 28, 2016 what version are you using? in the current version, its restricted to players. Quote
0 johnbond Posted March 28, 2016 Author Posted March 28, 2016 what version are you using? in the current version, its restricted to players. I think this I use is older. How to make it restrict to players? Quote
0 pachupappy Posted March 28, 2016 Posted March 28, 2016 I really don't know if it's src or in db.. try to google it.if you don't have a solution yet, better to disable the skill first. Quote
0 johnbond Posted March 28, 2016 Author Posted March 28, 2016 I really don't know if it's src or in db.. try to google it. if you don't have a solution yet, better to disable the skill first. Anybody know how to fix? Quote
0 benching Posted March 28, 2016 Posted March 28, 2016 (edited) skill.c (line: 10509) if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM ) break; } change to if (ud->skill_id == SL_SKE && target->type != BL_MOB) { clif_skill_fail(sd, SL_SKE, USESKILL_FAIL_TOTARGET_PLAYER, 0); break; } else if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM ) break; } NOTE: not tested, use at your own risk. Edited March 28, 2016 by benching Quote
0 johnbond Posted March 28, 2016 Author Posted March 28, 2016 skill.c (line: 10509) if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM ) break; } change to if (ud->skill_id == SL_SKE && target->type != BL_MOB) { clif_skill_fail(sd, SL_SKE, USESKILL_FAIL_TOTARGET_PLAYER, 0); break; } else if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM ) break; } NOTE: not tested, use at your own risk. I cant find these lines. if( ud->skill_id >= SL_SKE && ud->skill_id <= SL_SKA && target->type == BL_MOB ) { if( ((TBL_MOB*)target)->mob_id == MOBID_EMPERIUM ) break; } Quote
0 benching Posted March 28, 2016 Posted March 28, 2016 (edited) check your skill.c line:8303look for this line: case SL_SKA: // [marquis007] case SL_SKE: then add this : if(sd && skill_id == SL_SKE && bl->type != BL_MOB){ clif_skill_fail(sd, SL_SKE, USESKILL_FAIL_TOTARGET_PLAYER, 0); break; } to be sure, it should look like this: case SL_SKA: // [marquis007] case SL_SKE: if(sd && skill_id == SL_SKE && bl->type != BL_MOB){ clif_skill_fail(sd, SL_SKE, USESKILL_FAIL_TOTARGET_PLAYER, 0); break; } Edited March 31, 2016 by benching Quote
Question
johnbond
Hi guys,
I want to ask maybe somebody knows how I can make the eske skill of soul linkers to only be castable to MONSTERS and not to players.
471,9,6,1,0,0x1,0,3,1,no,0,0,0,magic,0,0x0, SL_SKE,Eske
Is it a DB modification or a SRC mod?
Kindly anyone please show me how we can do this.
Thank you.
7 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.