Skip to content

How do I edit the Adena shop costs of Town merchants.

Featured Replies

Hey Maxcheaters!

I'm attempting to edit the adena costs of regular shop vendors in Lineage 2. I'm using L2Mobius. I was able to find the multisell xml file of the NPC i wish to edit. However, there are no params for the costs anywhere.

 

I'm able to edit the exchange tables and crafting, but the base game costs I could not find the correct way. Please assist me!

 


image.thumb.png.819baaaeb90c3861eb5af6d286ca28ae.png

Example along with other attributes:

 

<item id="219" price="50000" count="10" restock_delay="60" /> <!-- Sword Breaker -->

 

12 hours ago, CheekyCrow said:

Hey Maxcheaters!

I'm attempting to edit the adena costs of regular shop vendors in Lineage 2. I'm using L2Mobius. I was able to find the multisell xml file of the NPC i wish to edit. However, there are no params for the costs anywhere.

 

I'm able to edit the exchange tables and crafting, but the base game costs I could not find the correct way. Please assist me!

 


image.thumb.png.819baaaeb90c3861eb5af6d286ca28ae.png

 

2 options:

1. Price takes from ItemTemplate

<item id="6660" name="Queen Ant's Ring" type="Armor"> <!-- MP +9, Poison Resistance and Atk. Rate +10%, P. /M. Accuracy +1, P. /M. Atk. +4%. The effect doesn't stack if two identical rings are worn. Cannot be enchanted. -->
      <set name="price" val="123200" />

2. Put as additional attribute in XML file.

<?xml version="1.0" encoding="UTF-8"?>
<list xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/buylist.xsd">
	<item id="736" price="600" /> <!-- Scroll of Escape -->
	<item id="737" price="3000" /> <!-- Scroll of Resurrection -->
	<item id="734" price="1800" /> <!-- Haste Potion -->
	<item id="735" price="3600" /> <!-- Alacrity Potion -->
	<item id="1831" price="112" /> <!-- Antidote -->
	<item id="1833" price="112" /> <!-- Bandage -->
	<item id="1061" price="495" /> <!-- Greater Healing Potion -->
</list>

 

In any case - price will be higher than value in XML because it will calculate with TAX from nearest castle (for Npc owner 15%, players can set from 5% up to 20%).

 

Only as guess: price will be as in XML if you create NPC in "NO_TAX" zone.

 

 

 

  • Author

Thank you for the information!

I will be sure to test it out and come back with the result.

 

It seems to have worked. I was able to make changes to the prices.

Thank you guys!

 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.