johnbond Posted March 27, 2016 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Share 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 Link to comment Share on other sites More sharing options...
0 pachupappy Posted March 28, 2016 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 145 Reputation: 14 Joined: 04/28/12 Last Seen: June 25, 2023 Share Posted March 28, 2016 what version are you using? in the current version, its restricted to players. Quote Link to comment Share on other sites More sharing options...
0 johnbond Posted March 28, 2016 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 pachupappy Posted March 28, 2016 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 145 Reputation: 14 Joined: 04/28/12 Last Seen: June 25, 2023 Share 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 Link to comment Share on other sites More sharing options...
0 johnbond Posted March 28, 2016 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 benching Posted March 28, 2016 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share 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 Link to comment Share on other sites More sharing options...
0 johnbond Posted March 28, 2016 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 457 Reputation: 11 Joined: 02/17/13 Last Seen: January 23, 2018 Author Share 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 Link to comment Share on other sites More sharing options...
0 benching Posted March 28, 2016 Group: Members Topic Count: 26 Topics Per Day: 0.01 Content Count: 350 Reputation: 43 Joined: 09/07/12 Last Seen: August 30, 2019 Share 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 Link to comment Share on other sites More sharing options...
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.
Link to comment
Share on other sites
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.