📑ItemValue
Defines the buy and sell price of specific items in NPC shops. This file is used to assign custom prices to items that do not follow the server's automatic price calculation, such as jewels, arrows, bolts, and event items.
Index
Number (item code)
The item this rule applies to.
Level
Number, or *
Restricts the rule to a specific item level. * = any level.
OpExe
Number, or *
Restricts the rule to a specific Excellent option on the item. * = any Excellent option.
BuyValue
Number, in Zen
Price charged by an NPC to sell this item to the player.
Coin1 / Coin2 / Coin3
Number
Additional cost in WCoinC / WCoinP / Goblin Point (for NPC shops that use premium currencies).
SellValue
Number, in Zen
Amount of Zen the player receives when selling the item to an NPC.
Comment
Text after //
Free comment (typically the item name), ignored by the game.
Notes
For stackable items (such as jewels and potions),
BuyValueis multiplied by the number of items in the stack. The only exceptions are Arrows and Bolts, which always use the full price defined in the row regardless of the stack size.The server searches for a matching row using the following priority order: first, an exact match for both
LevelandOpExe; if none is found, it looks for the exactLevelwithOpExe = *; then for the exactOpExewithLevel = *; and finally for a row where bothLevelandOpExeare*.Any item not listed in this file uses the price calculated automatically by the server based on its attributes defined in
Item.txt, rather than a fixed value.
Last updated