Ir para conteúdo
  • Cadastre-se

(Resolvido)[HELP] Atributos em Item


Ir para solução Resolvido por Biinhow,

Posts Recomendados

Coloquei atributos nos items do meu server:

 

a armor funciona > dando skill de magic, sword e tal tal tal,

a legs também funciona,

a bota também funciona,

mas..

o Helmet não dá atributos, nem o Shield, o que pode ser?

 

Obs: ele aparece que está dando atributos na legenda, porém, nas skill não tá alterando em nada:

 

22:06 You see an Vip Shield (Def:45, club fighting +3, sword fighting +3, axe fighting +3, distance fighting +3, magic level +2).
It weighs 0.01 oz.
Vip Item.
ItemID: [2524].
Position: [X: 150] [Y: 382] [Z: 7].

 

scripts:

 

Citar

    <item id="7497" article="a" name="Vip Knight Helmet">
        <attribute key="description" value="Vip Time."/>
        <attribute key="weight" value="700"/>
        <attribute key="slotType" value="head"/>
         <attribute key="armor" value="12"/>
         <attribute key="magicpoints" value="1"/>
<attribute key="skillSword" value="3"/>
<attribute key="skillAxe" value="3"/>
<attribute key="skillClub" value="3"/>

    </item>

Citar

    <item id="2524" article="an" name="Vip Shield">
                    <attribute key="weaponType" value="shield"/>
        <attribute key="description" value="Vip Item."/>
        <attribute key="weight" value="1"/>
        <attribute key="defense" value="45"/>
         <attribute key="magicpoints" value="2"/>
                               <attribute key="skillDist" value="3"/>
<attribute key="skillSword" value="3"/>
<attribute key="skillAxe" value="3"/>
<attribute key="skillClub" value="3"/>


    </item>

 

Link para o post
Compartilhar em outros sites
  • Solução
35 minutos atrás, Vagnerasdas disse:

Coloquei atributos nos items do meu server:

 

a armor funciona > dando skill de magic, sword e tal tal tal,

a legs também funciona,

a bota também funciona,

mas..

o Helmet não dá atributos, nem o Shield, o que pode ser?

 

Obs: ele aparece que está dando atributos na legenda, porém, nas skill não tá alterando em nada:

 

22:06 You see an Vip Shield (Def:45, club fighting +3, sword fighting +3, axe fighting +3, distance fighting +3, magic level +2).
It weighs 0.01 oz.
Vip Item.
ItemID: [2524].
Position: [X: 150] [Y: 382] [Z: 7].

 

scripts:

 

 

você deve adicionar em seu movements.xml esses id's!

Citar

</movevent>
<movevent type="DeEquip" itemid="2524" slot="shield" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="2524" slot="shield" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="2"/>
<vocation id="3"/>
<vocation id="4"/>
</movevent>
<movevent type="DeEquip" itemid="7497" slot="head" event="function" value="onDeEquipItem"/>
<movevent type="Equip" itemid="7497" slot="head" event="function" value="onEquipItem">
<vocation id="1"/>
<vocation id="2"/>
<vocation id="3"/>
<vocation id="4"/>

 

 

 

Link para o post
Compartilhar em outros sites
1 hora atrás, Biinhows disse:

você deve adicionar em seu movements.xml esses id's!

 

 

Boa cara!

consigui descobrir qual era o erro... em slot="xxx" eu tava colocando legs(era só por "head") por ficar dando crtl + c nos codigos.. acabou bugando, mas valeu ! 

Editado por Vagnerasdas (veja o histórico de edições)
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.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo