Ir para conteúdo
  • 0

Itens Que Da Ml E Skill


jhowxd

Pergunta

Boa noite pessoal, estou com um problema no meu ot, eu fiz os itens vip's, porem de 15 itens, apenas 2 funcionou como eu gostaria...

 

vou postar os itens da maneira que eles estão no itens.xml e como fico no moviments.xml

 

Lista de itens.xml e embaixo o moviments.xml

------------------------------------------------------------------------------------------------------------------

 

<item id="7463" article="a" name="Chuck Coat">

<attribute key="weight" value="9900" />

<attribute key="armor" value="17" />

<attribute key="skillDist" value="5" />

<attribute key="slotType" value="body" />

</item>

 

 

<movevent type="DeEquip" itemid="7462" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7463" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2496" article="a" name="Chuck Paladin Helmet">

<attribute key="skillDist" value="5" />

<attribute key="weight" value="5100" />

<attribute key="armor" value="11" />

<attribute key="slotType" value="head" />

</item>

 

 

<movevent type="DeEquip" itemid="2495" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

<item id="2508" article="a" name="Chuck Norris Armor">

 

<attribute key="weight" value="5000" />

<attribute key="armor" value="20" />

<attribute key="slotType" value="body" />

<attribute key="skillSword" value="5" />

<attribute key="skillAxe" value="5" />

<attribute key="skillClub" value="5" />

</item>

 

 

<movevent type="DeEquip" itemid="2507" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2508" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="8876" article="a" name="Escrava knight">

<attribute key="weight" value="12000" />

<attribute key="armor" value="17" />

<attribute key="skillAxe" value="3" />

<attribute key="skillsword" value="3" />

<attribute key="skillclub" value="3" />

<attribute key="slotType" value="body" />

</item>

 

 

<movevent type="DeEquip" itemid="8875" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8876" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="7464" article="a" name="Chuck Norris Sunga">

<attribute key="defense" value="11" />

<attribute key="absorbPercentEnergy" value="9" />

<attribute key="absorbPercentEarth" value="9" />

<attribute key="absorbPercentFire" value="9" />

<attribute key="absorbPercentIce" value="9" />

<attribute key="absorbPercentDeath" value="9" />

<attribute key="absorbPercentHoly" value="9" />

<attribute key="slotType" value="legs" />

</item>

 

 

<movevent type="DeEquip" itemid="7463" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="7464" slot="armor" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="5741" article="a" name="Chuck Norris helmet">

<attribute key="weight" value="4200" />

<attribute key="armor" value="13" />

<attribute key="skillSword" value="2" />

<attribute key="skillAxe" value="2" />

<attribute key="skillClub" value="2" />

<attribute key="slotType" value="head" />

</item>

 

 

<movevent type="DeEquip" itemid="5740" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="5741" slot="head" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2523" article="a" name="Roligan shield">

<attribute key="description" value="Roligan Shield." />

<attribute key="weight" value="6900" />

<attribute key="defense" value="40" />

<attribute key="weaponType" value="shield" />

<attribute key="skillShield" value="5" />

</item>

 

 

<movevent type="DeEquip" itemid="2522" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2523" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2539" article="a" name="Chuck Norris Shield">

<attribute key="description" value="Chuck Shield." />

<attribute key="weight" value="6900" />

<attribute key="defense" value="55" />

<attribute key="weaponType" value="shield" />

<attribute key="skillShield" value="7" />

</item>

 

 

<movevent type="DeEquip" itemid="2538" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2539" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2508" article="a" name="Chuck Norris Armor">

<attribute key="weight" value="5000" />

<attribute key="armor" value="20" />

<attribute key="slotType" value="body" />

<attribute key="skillSword" value="5" />

<attribute key="skillAxe" value="5" />

<attribute key="skillClub" value="5" />

</item>

 

 

<movevent type="DeEquip" itemid="2507" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2508" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2655" article="a" name="Chuck Norris Robe">

<attribute key="weight" value="4500" />

<attribute key="magiclevelpoints" value="6" />

<attribute key="defense" value="16" />

<attribute key="weaponType" value="shield" />

<attribute key="absorbPercentEnergy" value="2" />

<attribute key="absorbPercentEarth" value="2" />

<attribute key="absorbPercentFire" value="2" />

<attribute key="absorbPercentIce" value="2" />

<attribute key="absorbPercentDeath" value="2" />

<attribute key="absorbPercentHoly" value="2" />

<attribute key="slotType" value="body" />

</item>

 

 

<movevent type="DeEquip" itemid="2654" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2655" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="2527" article="a" name="Roligan mage Shield">

<attribute key="description" value="Howligan shield." />

<attribute key="weight" value="4650" />

<attribute key="magiclevelpoints" value="6" />

<attribute key="defense" value="18" />

<attribute key="weaponType" value="shield" />

</item>

 

 

<movevent type="DeEquip" itemid="2526" slot="shield" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="2527" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="3969" article="a" name="Chuck Mage Helmet">

<attribute key="weight" value="4200" />

<attribute key="armor" value="10" />

<attribute key="absorbPercentEnergy" value="2" />

<attribute key="absorbPercentEarth" value="2" />

<attribute key="absorbPercentFire" value="2" />

<attribute key="absorbPercentIce" value="2" />

<attribute key="absorbPercentDeath" value="2" />

<attribute key="absorbPercentHoly" value="2" />

<attribute key="magiclevelpoints" value="5" />

<attribute key="slotType" value="head" />

</item>

 

 

<movevent type="DeEquip" itemid="3968" slot="head" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="3969" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

 

<item id="3983" article="a" name="Chuck Mage Legs">

<attribute key="weight" value="1900" />

<attribute key="armor" value="10" />

<attribute key="magiclevelpoints" value="3" />

<attribute key="absorbPercentEnergy" value="6" />

<attribute key="absorbPercentEarth" value="6" />

<attribute key="absorbPercentFire" value="6" />

<attribute key="absorbPercentIce" value="6" />

<attribute key="absorbPercentDeath" value="6" />

<attribute key="absorbPercentHoly" value="6" />

<attribute key="slotType" value="legs" />

</item>

 

 

<movevent type="DeEquip" itemid="3982" slot="legs" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="3983" slot="legs" event="function" value="onEquipItem">

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

------------------------------------------------------------------------------------------------------------------

Mas esses 2 funcionaram normalmente:

 

 

<item id="8874" article="a" name="Escrava Paladina">

<attribute key="armor" value="12" />

<attribute key="slotType" value="body" />

<attribute key="weight" value="6500" />

<attribute key="skillDist" value="4" />

</item>

 

 

<movevent type="DeEquip" itemid="8873" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8874" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

 

------------------------------------------------------------------------------------------------------------------

<item id="8875" article="a" name="Escrava Mage">

<attribute key="weight" value="4500" />

<attribute key="magiclevelpoints" value="3" />

<attribute key="defense" value="13" />

<attribute key="weaponType" value="shield" />

<attribute key="absorbPercentEnergy" value="1" />

<attribute key="absorbPercentEarth" value="1" />

<attribute key="absorbPercentFire" value="1" />

<attribute key="absorbPercentIce" value="1" />

<attribute key="absorbPercentDeath" value="1" />

<attribute key="absorbPercentHoly" value="1" />

<attribute key="slotType" value="body" />

</item>

 

 

<movevent type="DeEquip" itemid="8874" slot="armor" event="function" value="onDeEquipItem"/>

<movevent type="Equip" itemid="8875" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

 

------------------------------------------------------------------------------------------------------------------

 

Se alguém puder arrumar o erro para mim pois já tentei muitas coisas ficaria muito grato.

Link para o comentário
Compartilhar em outros sites

5 respostass a esta questão

Posts Recomendados

  • 0

------------------------------------------------------------------------------------------------------------------

 

<item id="7463" article="a" name="Chuck Coat">

<attribute key="weight" value="9900" />

<attribute key="armor" value="17" />

<attribute key="skillDist" value="5" />

<attribute key="slotType" value="body" />

</item>

 

 

<movevent type="Equip" itemid="7463" slot="armor" level="100" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7463" slot="armor" event="function" value="onDeEquipItem"/>

 

------------------------------------------------------------------------------------------------------------------

 

<item id="2496" article="a" name="Chuck Paladin Helmet">

<attribute key="skillDist" value="5" />

<attribute key="weight" value="5100" />

<attribute key="armor" value="11" />

<attribute key="slotType" value="head" />

</item>

 

 

 

<movevent type="Equip" itemid="2496" slot="head" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2496" slot="head" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

<item id="2508" article="a" name="Chuck Norris Armor">

 

<attribute key="weight" value="5000" />

<attribute key="armor" value="20" />

<attribute key="slotType" value="body" />

<attribute key="skillSword" value="5" />

<attribute key="skillAxe" value="5" />

<attribute key="skillClub" value="5" />

</item>

 

 

 

<movevent type="Equip" itemid="2508" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2508" slot="armor" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="8876" article="a" name="Escrava knight">

<attribute key="weight" value="12000" />

<attribute key="armor" value="17" />

<attribute key="skillAxe" value="3" />

<attribute key="skillsword" value="3" />

<attribute key="skillclub" value="3" />

<attribute key="slotType" value="body" />

</item>

 

 

 

<movevent type="Equip" itemid="8876" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="8876" slot="armor" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="7464" article="a" name="Chuck Norris Sunga">

<attribute key="defense" value="11" />

<attribute key="absorbPercentEnergy" value="9" />

<attribute key="absorbPercentEarth" value="9" />

<attribute key="absorbPercentFire" value="9" />

<attribute key="absorbPercentIce" value="9" />

<attribute key="absorbPercentDeath" value="9" />

<attribute key="absorbPercentHoly" value="9" />

<attribute key="slotType" value="legs" />

</item>

 

 

 

<movevent type="Equip" itemid="7464" slot="armor" event="function" value="onEquipItem">

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="7464" slot="armor" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="5741" article="a" name="Chuck Norris helmet">

<attribute key="weight" value="4200" />

<attribute key="armor" value="13" />

<attribute key="skillSword" value="2" />

<attribute key="skillAxe" value="2" />

<attribute key="skillClub" value="2" />

<attribute key="slotType" value="head" />

</item>

 

 

 

<movevent type="Equip" itemid="5741" slot="head" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="5741" slot="head" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="2523" article="a" name="Roligan shield">

<attribute key="description" value="Roligan Shield." />

<attribute key="weight" value="6900" />

<attribute key="defense" value="40" />

<attribute key="weaponType" value="shield" />

<attribute key="skillShield" value="5" />

</item>

 

 

 

<movevent type="Equip" itemid="2523" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2523" slot="shield" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="2539" article="a" name="Chuck Norris Shield">

<attribute key="description" value="Chuck Shield." />

<attribute key="weight" value="6900" />

<attribute key="defense" value="55" />

<attribute key="weaponType" value="shield" />

<attribute key="skillShield" value="7" />

</item>

 

 

 

<movevent type="Equip" itemid="2539" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

<vocation id="3"/>

<vocation id="7" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2539" slot="shield" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="2508" article="a" name="Chuck Norris Armor">

<attribute key="weight" value="5000" />

<attribute key="armor" value="20" />

<attribute key="slotType" value="body" />

<attribute key="skillSword" value="5" />

<attribute key="skillAxe" value="5" />

<attribute key="skillClub" value="5" />

</item>

 

 

 

<movevent type="Equip" itemid="2508" slot="armor" level="90" event="function" value="onEquipItem">

<vocation id="4"/>

<vocation id="8" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2508" slot="armor" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="2655" article="a" name="Chuck Norris Robe">

<attribute key="weight" value="4500" />

<attribute key="magiclevelpoints" value="6" />

<attribute key="defense" value="16" />

<attribute key="weaponType" value="shield" />

<attribute key="absorbPercentEnergy" value="2" />

<attribute key="absorbPercentEarth" value="2" />

<attribute key="absorbPercentFire" value="2" />

<attribute key="absorbPercentIce" value="2" />

<attribute key="absorbPercentDeath" value="2" />

<attribute key="absorbPercentHoly" value="2" />

<attribute key="slotType" value="body" />

</item>

 

 

 

<movevent type="Equip" itemid="2655" slot="armor" level="50" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2655" slot="armor" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="2527" article="a" name="Roligan mage Shield">

<attribute key="description" value="Howligan shield." />

<attribute key="weight" value="4650" />

<attribute key="magiclevelpoints" value="6" />

<attribute key="defense" value="18" />

<attribute key="weaponType" value="shield" />

</item>

 

 

 

<movevent type="Equip" itemid="2527" slot="shield" level="40" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="2527" slot="shield" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

 

<item id="3969" article="a" name="Chuck Mage Helmet">

<attribute key="weight" value="4200" />

<attribute key="armor" value="10" />

<attribute key="absorbPercentEnergy" value="2" />

<attribute key="absorbPercentEarth" value="2" />

<attribute key="absorbPercentFire" value="2" />

<attribute key="absorbPercentIce" value="2" />

<attribute key="absorbPercentDeath" value="2" />

<attribute key="absorbPercentHoly" value="2" />

<attribute key="magiclevelpoints" value="5" />

<attribute key="slotType" value="head" />

</item>

 

 

 

<movevent type="Equip" itemid="3969" slot="head" event="function" value="onEquipItem">

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="3969" slot="head" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

<item id="3983" article="a" name="Chuck Mage Legs">

<attribute key="weight" value="1900" />

<attribute key="armor" value="10" />

<attribute key="magiclevelpoints" value="3" />

<attribute key="absorbPercentEnergy" value="6" />

<attribute key="absorbPercentEarth" value="6" />

<attribute key="absorbPercentFire" value="6" />

<attribute key="absorbPercentIce" value="6" />

<attribute key="absorbPercentDeath" value="6" />

<attribute key="absorbPercentHoly" value="6" />

<attribute key="slotType" value="legs" />

</item>

 

 

 

<movevent type="Equip" itemid="3983" slot="legs" event="function" value="onEquipItem">

<vocation id="2"/>

<vocation id="6" showInDescription="0"/>

<vocation id="1"/>

<vocation id="5" showInDescription="0"/>

</movevent>

<movevent type="DeEquip" itemid="3983" slot="legs" event="function" value="onDeEquipItem"/>

------------------------------------------------------------------------------------------------------------------

 

Bom, do jeito que coloquei pra você, é SEM ERRO!

Agora vamos a explicação..

O que você errou:

<movevent type="DeEquip" itemid="XXXY" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="XXXX" slot="shield" level="40" event="function" value="onEquipItem">[/font][/color]
</movevent>

O certo seria:

<movevent type="Equip" itemid="XXXX" slot="shield" level="40" event="function" value="onEquipItem">[/font][/color]
</movevent>
<movevent type="DeEquip" itemid="XXXX" slot="shield" event="function" value="onDeEquipItem"/>

Acho que você confundiu como se coloca os items no movements.xml.

Cada item, usa 2 MOVEMENT TYPES. Um pe o OnEquip, cuja quando você coloca ele equipado, seja armor, shield, legs e os demais

E voce colocou SOMENTE o movement digamos que de " entrada" pra cada item. Faltou o de saida.

Tente desse modo que coloquei. Se nao der certo, ou nao entender minha explicação, diga aqui, ou me mande uma mp.

Espero ter ajudado! Abraços, Lucas Corrêa.

Editado por LucasCorrea
Link para o comentário
Compartilhar em outros sites

  • 0

Muito Obrigado Lucas deu certinho e entendi onde errei rsrsr vlw amigo

é que não sei da resp+(me fala como eu dou) kkkkkkk sou novo nessa coisa de fórum mais esta me ajudando muito!!!!

Link para o comentário
Compartilhar em outros sites

  • 0

Dúvida Sanada. Tópico reportado! Para você dar Rep a ele, é só clicar nessa setinha verde pra cima /\ no post dele.

Editado por Leoxtibia
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...