Jump to content
  • 0

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


Question

Posted

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

3 answers to this question

Recommended Posts

  • 0
Posted

Example along with other attributes:

 

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

 

  • 0
Posted
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.

 

 

 

  • 0
Posted

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

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock