Pandaaa
New member
A soul link modification for parrying skill of Lord Knight
heres the line
SKILL.C(Original)
if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
return 0;
}
to
SKILL.C(Mod for Parrying)
if( require.weapon && !pc_check_weapontype(sd,require.weapon) && skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2)) {
clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
return 0;
}
after compiling this parrying with one hand sword (soul linked) is working but the other jobs skills are freely used without any weapon requirements (like Sonic Blow that need katar to use but i can use without any weapon).... revierting to the original skill.c backs to normal that requires weapons on specific skills
HELP ANYONE?
heres the line
SKILL.C(Original)
if( require.weapon && !pc_check_weapontype(sd,require.weapon) ) {
clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
return 0;
}
to
SKILL.C(Mod for Parrying)
if( require.weapon && !pc_check_weapontype(sd,require.weapon) && skill_id == LK_PARRYING && !sd->sc.data[SC_SOULLINK] && !pc_check_weapontype(sd,2)) {
clif->skill_fail(sd,skill_id,USESKILL_FAIL_THIS_WEAPON,0);
return 0;
}
after compiling this parrying with one hand sword (soul linked) is working but the other jobs skills are freely used without any weapon requirements (like Sonic Blow that need katar to use but i can use without any weapon).... revierting to the original skill.c backs to normal that requires weapons on specific skills
HELP ANYONE?