Jump to content
  • 0

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


CheekyCrow

Question

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

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

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

 

 

 

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.
Note: Your post will require moderator approval before it will be visible.

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