• TibiaFace

    Tibiaface | Una comunidad Open Tibia donde encontras : mapas, scripts, Otserver, npc y amigos etc ...

    .
    demo menumenu

    Afiliados



    Votar:

    [Tutorial] DAR ATRIBUTOS A LOS ITEMS

    Compartir:

    Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje (Página 1 de 1.)

    1[Tutorial] DAR ATRIBUTOS A LOS ITEMS Empty [Tutorial] DAR ATRIBUTOS A LOS ITEMS Lun Sep 20, 2021 12:56 am

    Ethaan

    Ethaan
    Miembro
    Miembro
    Descripcion escribió:Hola gente de tibia face mis cordial saludos me pregunto si podrian ayudarme presento un problema con algunos items.. es el siguiente. cuando le agrego el atributo al items no se refleja cuando es equipado por aqui una imagen del items con el problema

    [Tutorial] DAR ATRIBUTOS A LOS ITEMS 7JqNvGz

    por aqui otra imagen con otro items que si los refleja

    [Tutorial] DAR ATRIBUTOS A LOS ITEMS AYPD1ly

    en items tengo de la siguiente manera.
    este es el codigo del items que si refleja el atributo
    Código:
       <item id="25190" article="a" name="firemind raiment">
          <attribute key="weight" value="14500" />
          <attribute key="armor" value="15" />
          <attribute key="magiclevelpoints" value="4" />
          <attribute key="absorbPercentFire" value="8" />
          <attribute key="absorbPercentIce" value="-8" />
          <attribute key="slotType" value="body" />
          <attribute key="loottype" value="armor" />
       </item>

    y este es el items que no refleja el atributo

    Código:
       <item id="36418" article="a" name="toga mortis">
          <attribute key="weight" value="14500" />
          <attribute key="armor" value="15" />
          <attribute key="magiclevelpoints" value="4" />
          <attribute key="absorbPercentFire" value="8" />
          <attribute key="absorbPercentIce" value="-8" />
          <attribute key="slotType" value="body" />
          <attribute key="loottype" value="armor" />
       </item>

    no se como poder solucionar ese problemilla si alguien podria ayudarme le agradeceria de ante mano Very Happy
    Imagen Explicativa escribió:Imagen Explicativa: [Tutorial] DAR ATRIBUTOS A LOS ITEMS Tibiaf10
    Version del Scripts: TFs 1.x

    2 participantes

    2[Tutorial] DAR ATRIBUTOS A LOS ITEMS Empty Re: [Tutorial] DAR ATRIBUTOS A LOS ITEMS Lun Sep 20, 2021 1:02 am

    akane

    akane
    Miembro
    Miembro
    debes agregar el item en movements.xml, puedes copiar cualquier ejemplo de item que tenga atributo para que no te compliques



    <movevent event="DeEquip" itemid="25184" slot="armor" function="onDeEquipItem" />
    <movevent event="Equip" itemid="25193" slot="armor" level="200" function="onEquipItem">
    <vocation name="Druid" />
    <vocation name="Elder Druid" showInDescription="0" />
    <vocation name="Sorcerer" />
    <vocation name="Master Sorcerer" showInDescription="0" />
    </movevent>

    puedes tomar este item como ejemplo para agregarlo al movements.xml

    2 participantes

    3[Tutorial] DAR ATRIBUTOS A LOS ITEMS Empty Re: [Tutorial] DAR ATRIBUTOS A LOS ITEMS Mar Sep 21, 2021 11:10 pm

    Ethaan

    Ethaan
    Miembro
    Miembro
    no amigo no me funciono he probado de todas formas y lo que pasa es que cuando se hace un script ya va directo a lua. y no tengo el archivo movements.xml estoy trabajando con servidor 12.70 y va directo el scripts. en un archivo lua. ya no hay que agregarlo a movements.xml simplemente creas el script como formato lua. y el servidor lo reconoce

    2 participantes

    Contenido patrocinado


    2 participantes

    Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje (Página 1 de 1.)

    Permisos de este foro:
    No puedes responder a temas en este foro.

     

    BienvenidosTibiaFace es una comunidad de Open Tibia. Para participar debes estar registrado (click para Regístrate).