Jump to content
  • 0

Request Card Remover NPC


grampa

Question


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/06/14
  • Last Seen:  

Hi,

 

Can someone please provide me a card remove npc but the npc will not allow to remove the card from the item if the card is account bounded?

 

Or could possibly check if the card is account bound and will give a card too as account bound one?

 

Thanks in advance!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

AFAIK cards shouldn't be rented or bounded.

 

But if you're looking to check if the equipped item is bounded try this

 

 

Search for this part

set .@part,select(.@menu$);

Then add this below

if( countbound() ) {
     for( .@a = 0; .@a < getarraysize( @bound_items ); .@a++ ) {
	if( @bound_items[.@a] == getequipid(.@part) ) {
		mes "[Wise Old Woman]";
                mes "Young one... Sorry. I can't remove cards from bounded items.";
                close;
        }
     }
}
Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  34
  • Reputation:   0
  • Joined:  11/06/14
  • Last Seen:  

Thank you for quick response. I'll try this out.. :D

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...