I modified my server to allow single strip to be used on player under FCP buff, i also enabled FCP to be used on players with Strip status to remove the strip status
using this script:
// Full Chemical Protectioncase CR_FULLPROTECTION:/* 3-2-17 Modified to Enable FCP even without EQ
{
unsigned int equip[] = {EQP_WEAPON, EQP_SHIELD, EQP_ARMOR, EQP_HEAD_TOP};
int i_eqp, s = 0, skilltime = skill_get_time(skill_id,skill_lv);
for (i_eqp = 0; i_eqp < 4; i_eqp++) {
if( bl->type != BL_PC || ( dstsd && pc_checkequip(dstsd,equip[i_eqp]) < 0 ) )
continue;
sc_start(src,bl,(sc_type)(SC_CP_WEAPON + i_eqp),100,skill_lv,skilltime);
s++;
}
Replaced with: */{// unsigned int equip[] = {EQP_WEAPON, EQP_SHIELD, EQP_ARMOR, EQP_HEAD_TOP};int i_eqp, s =0, skilltime = skill_get_time(skill_id,skill_lv);for(i_eqp =0; i_eqp <4; i_eqp++){if( bl->type != BL_PC )continue;if(tsc->data[SC_STRIPWEAPON + i_eqp])
status_change_end(bl,(sc_type)(SC_STRIPWEAPON + i_eqp),-1);
sc_start(src,bl,(sc_type)(SC_CP_WEAPON + i_eqp),100,skill_lv,skilltime);
s++;}//3-2-17if( sd &&!s ){
clif_skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
map_freeblock_unlock();// Don't consume item requirementsreturn0;}
clif_skill_nodamage(src,bl,skill_id,skill_lv,1);}break;
the problem is:
- I cant re - equip any item once my strip status is replaced by FCP status
Question
iamkevin
I modified my server to allow single strip to be used on player under FCP buff, i also enabled FCP to be used on players with Strip status to remove the strip status
using this script:
the problem is:
- I cant re - equip any item once my strip status is replaced by FCP status
how to fix this? thanks!
Link to comment
Share on other sites
0 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.