Ir para conteúdo
  • Cadastre-se

(Resolvido)(Ajuda) Items e Movements


Ir para solução Resolvido por ikaroangelo21,

Posts Recomendados

.Qual servidor ou website você utiliza como base? 

TFS 1.3 Global

Qual o motivo deste tópico? 

Boa tarde galera, dupliquei um item com o intuito de editar o mesmo, com atributos melhores.

O item esta ok, criei id, editei items.xml e adicionei o mesmo em movements.

Consigo criar o item com o GOD e ao dar look eu enxergo exatamente o que eu editei, porem ao equipar o char com o item, o char nao ganha os atributos.

Alguem sabe o que pode ser?

 

Está surgindo algum erro? Se sim coloque-o aqui. 

Citar

 

 

Você tem o código disponível? Se tiver publique-o aqui:

items.xml     

    <item id="36759" name="frozen boots">
        <attribute key="description" value="It can only be wielded properly by druids of level 500 or higher." />
        <attribute key="weight" value="1500" />
        <attribute key="armor" value="10" />
        <attribute key="slotType" value="feet" />
        <attribute key="magiclevelpoints" value="3" />
        <attribute key="absorbPercentIce" value="7" />
        <attribute key="imbuingSlots" value="1" />

 

movements.xml    

<movevent event="Equip" itemid="36759" level="500" slot="feet" event="function" value="onEquipItem"> <!-- Frozen Boots -->
        <vocation id="1" />
        <vocation id="5" showInDescription="0" />
        <vocation id="2" />
        <vocation id="6" showInDescription="0" />
    </movevent>
    <movevent type="DeEquip" itemid="36759" level="500" slot="feet" event="function" value="onEquipItem">

 

Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. 

 

 

ajuda.png

Link para o post
Compartilhar em outros sites

@Diego767 tente

 

    <movevent event="Equip" itemid="36759" level="500" slot="feet" event="function" value="onEquipItem"> <!-- Frozen Boots -->
        <vocation id="1"/>
        <vocation id="5" showInDescription="0"/>
        <vocation id="2"/>
        <vocation id="6" showInDescription="0"/>
    </movevent>
    <movevent type="DeEquip" itemid="36759" level="500" slot="feet" event="function" value="onDeEquipItem"/>

 

Editado por ikaroangelo21 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
    <movevent event="Equip" itemid="36759" level="500" slot="feet" event="function" value="onEquipItem">
        <vocation name="Druid" />
        <vocation name="Elder Druid" showInDescription="0" />
        <vocation name="Sorcerer" />
        <vocation name="Master Sorcerer" showInDescription="0" />
    </movevent>
    <movevent type="DeEquip" itemid="36759" level="500" slot="feet" event="function" value="onDeEquipItem" />

 

Link para o post
Compartilhar em outros sites
  • Solução
<movevent event="Equip" itemid="36759" slot="feet" level="500" function="onEquipItem">
        <vocation id="1" />
        <vocation id="5" showInDescription="0" />
        <vocation id="2" />
        <vocation id="6" showInDescription="0" />
    </movevent>
    <movevent type="DeEquip" itemid="36759" slot="feet" level="500" function="onDeEquipItem" />
Editado por ikaroangelo21 (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
54 minutos atrás, Diego767 disse:

Resolvido, pode fechar o topico, valeu @ikaroangelo21

 

 

4 horas atrás, ikaroangelo21 disse:

@Diego767 mandei privado um testado!

 

Compartilhe o resultado para que quando alguém tiver este problema, ela consiga resolvê-lo. REP +

Link para o post
Compartilhar em outros sites
<movevent event="Equip" itemid="36759" slot="feet" level="500" function="onEquipItem">
        <vocation id="1" />
        <vocation id="5" showInDescription="0" />
        <vocation id="2" />
        <vocation id="6" showInDescription="0" />
    </movevent>
    <movevent type="DeEquip" itemid="36759" slot="feet" level="500" function="onDeEquipItem" />
Link para o post
Compartilhar em outros sites

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo