Jump to content
  • 0

add slot in item without losing cards and enchantments


Tassadar

Question


  • Group:  Members
  • Topic Count:  52
  • Topics Per Day:  0.02
  • Content Count:  107
  • Reputation:   5
  • Joined:  07/21/16
  • Last Seen:  

Good night people. I have a question:

How do I make a npc put a slot in an item? I know the structure is simple it swaps the version without a slot for a slot.

delitem 5022.1; // Helm_Of_Sun
getitem 5353.1; // Helm_Of_Sun_

The question is whether the item already has a letter or spell. How do I keep the state they were in.

for example:

delitem 1119; // Tsurugi [1] with a card and an enchantment
getitem 1120; // Tsurugi [2] with the same card and with the same spell

I know it's possible .. because at a Bro event this was done.

Thanks in advance for your support.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  20
  • Topics Per Day:  0.01
  • Content Count:  416
  • Reputation:   73
  • Joined:  05/16/19
  • Last Seen:  

You need to use getitem2 and getitem3 to respawn an identical item, with the same cards/attributes, plus your extra slot.

so

pick item

check item info and save

delete

spawn new item with info

add slot

 

gg

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

you need to get the inventory list and check for the item that the player selected , than get all it information

delete the item than give the player new item using getitem2 or getitem3 if you use random options system

getinventorylist {<char_id>};

getitem2 and getitem3

Edited by sader1992
that > than
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...