Cómo crear y trabajar con Trade List (no Multisell)

Ruta: data/merchant_buylists.xml

Por ejemplo, consideremos un probador estándar en el NPC id 30166
Bypass:
[npc_%objectId%_Buy 50|Buy Dye]

y vemos el bypass con el id de la lista de comercio 50

Ve a data/merchant_buylists.xml

Donde 50 es shop="50"
[npc_%objectId%_Buy 50|Buy Dye]

markup="15" - impuesto máximo del castillo
XML:
    <tradelist npc="30166" shop="50" markup="15" >
        <item id="4445" name="Dye of Strength Str+1 Con-3" />
        <item id="4446" name="Dye of Strength Str+1 Dex-3" />
        <item id="4447" name="Dye of Constitution Con+1 Str-3" />
        <item id="4448" name="Dye of Constitution Con+1 Dex-3" />
        <item id="4449" name="Dye of Dexterity Dex+1 Str-3" />
        <item id="4450" name="Dye of Dexterity Dex+1 Con-3" />
        <item id="4451" name="Dye of Intelligence Int+1 Men-3" />
        <item id="4452" name="Dye of Intelligence Int+1 Wit-3" />

también puedes añadir tu propio precio en adena o límite de tiempo para los objetos.
Ejemplo:
Límites:
XML:
        <item id="8945" name="Spellbook: Celestial Shield" count="1" time="60" />
        <item id="8946" name="Spellbook: Invocation" count="1" time="60" />
        <item id="8890" name="Spellbook: Summon Attract Cubic" count="1" time="60" />
        <item id="8891" name="Spellbook: Aura Flash" count="1" time="60" />
        <item id="8909" name="Blueprint: Summon Swoop Cannon" count="1" time="60" />
Precio personalizado en adena (por defecto el precio se obtiene de data/items):

XML:
        <item id="8945" name="Spellbook: Celestial Shield" price="1000000" />

De este modo, puedes escribir tu lista de comercio para tu NPC.
 
Back
Top