May I request this source coz I can't make it on my own..
getequipbound <equipment slot>;
It returns the bound type of the currently equipped item.
0 - Equipment is not bounded
1 - Account Bound
2 - Guild Bound
3 - Party Bound
4 - Character Bound
I will use this to my custom pvp room wherein when you killed a player you have a chance to steal his currently equipped item and I want the bound type to be the same.
May I request this source coz I can't make it on my own..

getequipbound <equipment slot>;
It returns the bound type of the currently equipped item.
0 - Equipment is not bounded
1 - Account Bound
2 - Guild Bound
3 - Party Bound
4 - Character Bound
I will use this to my custom pvp room wherein when you killed a player you have a chance to steal his currently equipped item and I want the bound type to be the same.
OnPCDieEvent: for(.@i=0; .@i < 10; .@i++) { if( getequipisequiped(.@i) ) { .@itemid = getequipid(.@i); .@refine = getequiprefinerycnt(.@i); .@card1 = getequipcardid(.@i,0); .@card2 = getequipcardid(.@i,1); .@card3 = getequipcardid(.@i,2); .@card4 = getequipcardid(.@i,3); if( getequipbound(.@i) ) .@bound = getequipbound(.@i); if( rand(1,100) <= 20 ) { delequip .@i; if ( .@bound ) getitembound2 .@itemid,1,1,.@refine,0,.@card1,.@card2,.@card3,.@card4,.@bound,killerrid; else getitem2 .@itemid,1,1,.@refine,0,.@card1,.@card2,.@card3,.@card4,killerrid; } } }end;Thanks in advance!
Edited by Lord GanjaShare this post
Link to post
Share on other sites