Player 1(stalker in talis mode): Use Single Strip on Player 2, After player 1 stripped the item of (player 2 in talis mode) Player 2(any job in talis mode): stripped already, but you can equip the item again.
THIS BUG IS HAPPENING ONLY WHEN THE TARGET IS IN TALIS MODE, but when the target is not in talis mode the script is working fine.
i want even the target have talis he still can be single strip
to make it short after you Single Strip the Armor. the other player is stripped but he/she can equip it again after being stripped.
Eathena user:
here my source code kindly help me check where is the problem???
//Special message when trying to use strip on FCP [Jobbie]
if( sd && skillid == ST_FULLSTRIP && tsc && tsc->data[SC_CP_WEAPON] && tsc->data[SC_CP_HELM] && tsc->data[SC_CP_ARMOR] && tsc->data[SC_CP_SHIELD] )
{
clif_gospel_info(sd, 0x28);
break;
}
if ( sd && tsc && sd->sc.data[SC_SPIRIT] && sd->sc.data[SC_SPIRIT]->val2 == SL_ROGUE && rand()%100 < 5
&&
( skillid == RG_STRIPWEAPON && tsc->data[SC_CP_WEAPON] ||
skillid == RG_STRIPSHIELD && tsc->data[SC_CP_SHIELD] ||
skillid == RG_STRIPARMOR && tsc->data[SC_CP_ARMOR] ||
skillid == RG_STRIPHELM && tsc->data[SC_CP_HELM] ) ) {
int item_id = 7139; // Glistening Coat
int ii;
ARR_FIND( 0, MAX_INVENTORY, ii, sd->status.inventory[ii].nameid == item_id );
if ( ii < MAX_INVENTORY ) {
pc_delitem( sd, ii, 1, 0, 0);
switch ( skillid ) {
case RG_STRIPWEAPON:
status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER );
sc_start( bl, SC_STRIPWEAPON, 100, skilllv, d );
break;
case RG_STRIPSHIELD:
status_change_end( bl, SC_CP_WEAPON, INVALID_TIMER );
sc_start( bl, SC_STRIPSHIELD, 100, skilllv, d );
break;
case RG_STRIPARMOR:
status_change_end( bl, SC_CP_ARMOR, INVALID_TIMER );
sc_start( bl, SC_STRIPARMOR, 100, skilllv, d );
break;
case RG_STRIPHELM:
status_change_end( bl, SC_CP_HELM, INVALID_TIMER );
sc_start( bl, SC_STRIPHELM, 100, skilllv, d );
break;
}
clif_skill_nodamage( src, bl, skillid, skilllv, i );
}
}
//Attempts to strip at rate i and duration d
if( (i = skill_strip_equip(bl, location, i, skilllv, d)) || (skillid != ST_FULLSTRIP && skillid != GC_WEAPONCRUSH) )
clif_skill_nodamage(src,bl,skillid,skilllv,i);
//Nothing stripped.
if( sd && !i )
clif_skill_fail(sd,skillid,0,0,0);
if( skillid == SC_STRIPACCESSARY && i )
clif_status_change(src, SI_ACTIONDELAY, 1, 1000, 0, 0, 1);
}
break;
Question
Renji Abarai
My Single Strip is Bug here is the scenario:
Player 1(stalker in talis mode): Use Single Strip on Player 2, After player 1 stripped the item of (player 2 in talis mode)
Player 2(any job in talis mode): stripped already, but you can equip the item again.
THIS BUG IS HAPPENING ONLY WHEN THE TARGET IS IN TALIS MODE, but when the target is not in talis mode the script is working fine.
i want even the target have talis he still can be single strip
to make it short after you Single Strip the Armor. the other player is stripped but he/she can equip it again after being stripped.
Eathena user:
here my source code kindly help me check where is the problem???
Link to comment
Share on other sites
4 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.