kamotlikod Posted October 26, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 06/11/13 Last Seen: August 29, 2015 Share Posted October 26, 2013 Can you please help me. I made an Item that enables any job to have the plagirism skill but It fails cannot copy skills when the character is not a rouge/stalker/schaser. Can you help me? Quote Link to comment Share on other sites More sharing options...
Kichi Posted October 26, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 26, 2013 should need source editskill.c // Check if the skill is copyable by class if (!pc_has_permission(sd, PC_PERM_ALL_SKILL)) { uint16 job_allowed; job_allowed = skill_db[idx].copyable.joballowed; while (1) { if (job_allowed&0x01 && sd->status.class_ == JOB_ROGUE) break; if (job_allowed&0x02 && sd->status.class_ == JOB_STALKER) break; if (job_allowed&0x04 && sd->status.class_ == JOB_SHADOW_CHASER) break; if (job_allowed&0x08 && sd->status.class_ == JOB_SHADOW_CHASER_T) break; if (job_allowed&0x10 && sd->status.class_ == JOB_BABY_ROGUE) break; if (job_allowed&0x20 && sd->status.class_ == JOB_BABY_CHASER) break; return 0; } } DELETE IT i didn't test 1 Quote Link to comment Share on other sites More sharing options...
kamotlikod Posted October 27, 2013 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 13 Reputation: 0 Joined: 06/11/13 Last Seen: August 29, 2015 Author Share Posted October 27, 2013 Thank you Quote Link to comment Share on other sites More sharing options...
Kichi Posted October 27, 2013 Group: Members Topic Count: 25 Topics Per Day: 0.01 Content Count: 509 Reputation: 80 Joined: 11/20/11 Last Seen: October 3, 2020 Share Posted October 27, 2013 mark it as answered sirand if you don't mind to click the green button/thx Quote Link to comment Share on other sites More sharing options...
Question
kamotlikod
Can you please help me. I made an Item that enables any job to have the plagirism skill but It fails cannot copy skills when the character is not a rouge/stalker/schaser.
Can you help me?
Link to comment
Share on other sites
3 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.