Jump to content
  • 0

Changing the sale values ​​of items


Hello dear friends of rAthena, I have a question, how do I edit the values in (zeny) of the sale of all items in the NPC.

For example, I'd like to make items that would be worth 200,000 zeny on the NPC start being worth 300 zeny.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

if the shop is reading the buy/sell (default) value from item_db, then edit the item_db info

#   Buy                     Buying price. When not specified, becomes double the sell price. (Default: 0)
#   Sell                    Selling price. When not specified, becomes half the buy price. (Default: 0)

if the shop is readying the buy/sell value from the npc script, then edit the amount in the npc script

if its value is -1, meant it read the default value from item_db

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.

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...