Jump to content

[Classic] Multisell com itens aleatórios


Kelvin

Recommended Posts

  • L2JBr ADM

Caminho: gameserver/data/multisell/

Uma multisell com chance é uma lista de compra onde você exige determinados itens para entrega e o NPC dentre uma lista sorteia e entrega no seu inventário. Mantenha o parâmetro is_chanced habilitado.

<config showall="true" is_chanced="true" notax="true" keepenchanted="false" />

Exemplo da multisell completa:

<?xml version='1.0' encoding='utf-8'?>
<list>
<config showall="true" is_chanced="true" notax="true" keepenchanted="false" />
  <item id="1">
    <ingredient id="1459" count="1"/> <!-- Item exigido para ser entregue e trocado -->
    <production id="71" count="1" chance="0"/> <!-- O primeiro item tem que ser posto com a chance de 0 para que o cliente identifique os restantes e mostre. Isso não afeta em nada -->
    <production id="71" count="1" chance="50"/> <!-- 50% de Chance de ter oo item -->
    <production id="72" count="1" chance="50"/> <!-- 50% de Chance de ter oo item -->
  </item>
</list>

Vai ficar algo semelhante a isso:

yX5DW4M.png

Link to comment
Share on other sites



Em 02/02/2021 at 22:36, Kelvin disse:

Caminho: gameserver/data/multisell/

Uma multisell com chance é uma lista de compra onde você exige determinados itens para entrega e o NPC dentre uma lista sorteia e entrega no seu inventário. Mantenha o parâmetro is_chanced habilitado.

<config showall="true" is_chanced="true" notax="true" keepenchanted="false" />

Exemplo da multisell completa:

<?xml version='1.0' encoding='utf-8'?>
<list>
<config showall="true" is_chanced="true" notax="true" keepenchanted="false" />
  <item id="1">
    <ingredient id="1459" count="1"/> <!-- Item exigido para ser entregue e trocado -->
    <production id="71" count="1" chance="0"/> <!-- O primeiro item tem que ser posto com a chance de 0 para que o cliente identifique os restantes e mostre. Isso não afeta em nada -->
    <production id="71" count="1" chance="50"/> <!-- 50% de Chance de ter oo item -->
    <production id="72" count="1" chance="50"/> <!-- 50% de Chance de ter oo item -->
  </item>
</list>

Vai ficar algo semelhante a isso:

yX5DW4M.png

Nesse modo tem como eu fazer o item requerido, vamos supor que é uma arma A  e ela tem chance de ir para uma  S porem sem perder o enchant nela?

Red Legion

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
Reply to this topic...

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

Loading...
  • Join now

    Be part of the largest and oldest communities about Lineage2 in Latin America.






×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.