Index: src/map/pc.c Find: for (i = 0; i < ARRAYLENGTH(scw_list); i++) { // Skills requiring specific weapon types if( scw_list == SC_DANCING && !battle_config.dancing_weaponswitch_fix ) continue;
Add Below: // If linked, knights are able to use parrying with one handed swords (type 2) if( scw_list == SC_PARRYING && sd->sc.data[sC_SOULLINK] && sd->sc.data[sC_SOULLINK]->val2 == SL_KNIGHT && (!pc_check_weapontype(sd,skill->get_weapontype(status->sc2skill(scw_list))) && !pc_check_weapontype(sd,2) ) ) { status_change_end(&sd->bl, scw_list, INVALID_TIMER); continue; // We don't want to fall under the next check }
after applying it i found out that [ EVERY SKILL WHICH WILL REQUIRED A WEAPON HAS BEEN BYPASS ]
EXAMPLE :
CLOWN NOW CAN USE ARROW VULCAN WITHOUT VIOLIN ALSO SINX CAN USE SB EVEN HE'S WEARING DAGGER..
SRY ALL CAPS.. thanks in advanced
@EDIT : hmm or just placed this code in a wrong line?
can someone please check this? if there is something wrong?
just a simple checking and tell me whats going on
cuz this is modification in SL spirit ( for LK )
( okay )
this is what happen
[the custom mods is working properly]
after applying it i found out that [ EVERY SKILL WHICH WILL REQUIRED A WEAPON HAS BEEN BYPASS ]
EXAMPLE :
CLOWN NOW CAN USE ARROW VULCAN WITHOUT VIOLIN
ALSO SINX CAN USE SB EVEN HE'S WEARING DAGGER..
SRY ALL CAPS..
thanks in advanced
@EDIT : hmm or just placed this code in a wrong line?
Share this post
Link to post
Share on other sites