if other classes than rogue / stalker get plagiarism due to an item, they cant copy skills.....any idea how to fix that?
Thanks in advance ^^/)
got it
skill.c
// Check if the skill is copyable by class if (!pc_has_permission(sd,PC_PERM_ALL_SKILL)) { uint16 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; } }
Question
shadowscreen
Hi there,
if other classes than rogue / stalker get plagiarism due to an item, they cant copy skills.....any idea how to fix that?
Thanks in advance ^^/)
got it
skill.c
// Check if the skill is copyable by class
if (!pc_has_permission(sd,PC_PERM_ALL_SKILL)) {
uint16 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;
}
}
remove this
Edited by shadowscreen0 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.