Secret Experience

Secret Experience (https://secretexperience.net/index.php)
-   [L2J] Dúvidas (https://secretexperience.net/forumdisplay.php?f=37)
-   -   [Interlude] Npc trocar s/a - production id +0 (https://secretexperience.net/showthread.php?t=30662)

Johnny 05-04-2011 09:05 PM

Npc trocar s/a - production id +0
 
ola denovo!

estou com um pequeno problema
criei um npc de trocas de S/A
soh que quando ele troca a arma
ex: se eu tiver uma arma +10 sem S/A o
cara consegue trocar por uma com S/A
sem perder os enchants, ou seja
pegando uma arma +10 com S/A

gostaria q o cara com a arma sem S/A porem enchantada quando
trocasse por uma com S/A perdesse os enchants o q devo fazer?

obs: aqui esta um pedaço da minha xml
EU JA TENTEI COLOCAR ISSO NO PRODUCTION ID :
<production id="6582" count="1" enchant="0"/>
e nao funcionou! =S

Código:

<?xml version='1.0' encoding='utf-8'?>

<!-- SA -->
<!-- This list is best used in exc_multisel -->
<list maintainEnchantment="true" applyTaxes="true">

  <!-- Forgotten Blade - Health -->
  <item id="1">
    <ingredient id="6364" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6582" count="1"/>
  </item>

  <!-- Forgotten Blade - Haste -->
  <item id="2">
    <ingredient id="6364" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6581" count="1"/>
  </item>

  <!-- Forgotten Blade - Focus -->
  <item id="3">
    <ingredient id="6364" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6583" count="1"/>
  </item>

  <!-- Heavens Divider - Focus -->
  <item id="4">
    <ingredient id="6372" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6607" count="1"/>
  </item>

  <!-- Heavens Divider - Haste -->
  <item id="5">
    <ingredient id="6372" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6605" count="1"/>
  </item>

  <!-- Heavens Divider - Health -->
  <item id="6">
    <ingredient id="6372" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6606" count="1"/>
  </item>

  <!-- Angel Slayer - HP Drain -->
  <item id="7">
    <ingredient id="6367" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6591" count="1"/>
  </item>

  <!-- Angel Slayer - Haste -->
  <item id="8">
    <ingredient id="6367" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6592" count="1"/>
  </item>

  <!-- Angel Slayer - Crt. Damage -->
  <item id="9">
    <ingredient id="6367" count="1"/>
    <ingredient id="9210" count="300"/>
    <ingredient id="9211" count="200"/>
    <ingredient id="9212" count="100"/>
    <production id="6590" count="1"/>
  </item>

isso ai eh um pedaço da xml
se houver algo q eu possa colocar nela para ela poder entregar a arma
+0 com S/A para o player!

no aguardo!
vlw

Genilson 06-04-2011 01:21 AM

vc colocou só em Production?
Tenta coloca em tudo tipo assim..



<item id="2">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6581" count="1" enchant="0"/>
</item>

<item id="3">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6582" count="1" enchant="0"/>
</item>

<item id="4">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6583" count="1" enchant="0"/>
</item>

<item id="5">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6584" count="1" enchant="0"/>
</item>

<item id="6">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6585" count="1" enchant="0"/>
</item>

<item id="7">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6586" count="1" enchant="0"/>
</item>

<item id="8">
<ingredient id="6673" count="30" enchant="0"/>
<production id="6587" count="1" enchant="0"/>
</item>



todos informando o "enchant 0" pra ve o que da!

Espero te ajudado!

Mazokista 06-04-2011 01:35 PM

na maioria das revs pega e nao pega se funcionar vai acusar hacker =x nao recomendo fazer isso

Johnny 06-04-2011 01:58 PM

mas tem como fazer mazokista?

pq ja vi isso em outros servers sem nenhum problema!

Mazokista 06-04-2011 02:04 PM

Sim é possivel mais isso voce teria q modificar no java e criar um codigo para ter esse resultado qui vc esta querendo


Horários baseados na GMT -3. Agora são 12:56 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.