Ir para conteúdo

Featured Replies

Postado

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>

 

Resolvido por Biinhow

Ir para solução
Postado
  • Solução
  Em 02/02/2017 em 00:07, 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"/>

 

 

 

Postado
  • Autor
  Em 02/02/2017 em 00:45, 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)

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

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo