Ir para conteúdo
  • 0

Como Colocar Item Para Healar ?


jhonatanp

Pergunta

Eu postei um topico anteriormente com o msm titulo só que ninguem ajudou, o que eu quero ?



 

eu olhei no items.xml e falaram que era para ter tags com o tanto que o item heala, eu queria almentar algums mas não achei a tal da tag. Se tiver como alguem ajudar.

pode ver que aki não tem nenhuma tag monstrando quanto o item heala.

 

<item id="2469" name="Goku ssj5 legs">



<attribute key="description" value="Ki and Health Regeneration +500/s."/>

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

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

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

 

e eu tava querendo almentar, se alguem tiver como ajudar eu agradeco já.

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

Posts Recomendados

  • 0

adiciona essas duas linhas

<attribute key="healthGain" value="500" />
<attribute key="healthTicks" value="2000" />

não entendi muito bem mais acho que é isso

500 quanto que aumenta

2000 tempo

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

  • 0

Eu quero colocar para o item healar mais, Ou colocar um item que não heala para ele heala.

 

Coloquei

<item id="3975" article="a" name="Samurai Helmet">



<attribute key="description" value="Health and Ki +1000, Power Regeneration 2/s."/>

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

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

<attribute key="healthGain" value="5500" />

<attribute key="healthTicks" value="2000" />

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

 

e Não deu.

Link para o comentário
Compartilhar em outros sites

  • 0

adicione esta tag em movements/movements

 

<!-- Samurai Helmet -->

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

<vocation id="4"/>

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

</movevent>

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

Link para o comentário
Compartilhar em outros sites

  • 0

ponha assim no items.xml

 

Se for heala mana

 

<item id="2469" name="Goku ssj5 legs">
<attribute key="description" value="Ki and Health Regeneration +500/s."/>
<attribute key="weight" value="4800"/>
<attribute key="manaTicks" value="1000" /> -- quanto vai heala de mana
<attribute key="armor" value="70"/>
<attribute key="slotType" value="legs"/>

 

se for heala health

 

<item id="2469" name="Goku ssj5 legs">
<attribute key="description" value="Ki and Health Regeneration +500/s."/>
<attribute key="weight" value="4800"/>
<attribute key="healthTicks" value="2000" /> -- quanto vai heala de health
<attribute key="armor" value="70"/>
<attribute key="slotType" value="legs"/>

 

se querer os 2 so dizer que eu ponho

Link para o comentário
Compartilhar em outros sites

  • 0

ponha assim no items.xml

 

Se for heala mana

 

<item id="2469" name="Goku ssj5 legs">
<attribute key="description" value="Ki and Health Regeneration +500/s."/>
<attribute key="weight" value="4800"/>
<attribute key="manaTicks" value="1000" /> -- quanto vai heala de mana
<attribute key="armor" value="70"/>
<attribute key="slotType" value="legs"/>

 

se for heala health

 

<item id="2469" name="Goku ssj5 legs">
<attribute key="description" value="Ki and Health Regeneration +500/s."/>
<attribute key="weight" value="4800"/>
<attribute key="healthTicks" value="2000" /> -- quanto vai heala de health
<attribute key="armor" value="70"/>
<attribute key="slotType" value="legs"/>

 

se querer os 2 so dizer que eu ponho

 

attribute key="healthTicks" value="2000" /> -- quanto vai heala de health

 

lol nada a ver cara healthticks é de quanto em quanto tempo vai healar --' igual ta ai 2000 = 2 segundos a cada 2 segundos vai healar + cade a tag de quanto vai healar voce não coloco -.-

 

tem que adicionar essa tag aki tbm

 

<attribute key="healthGain" value="2000"/>

 

 

ficando assim

 

<item id="2469" name="Goku ssj5 legs">
<attribute key="description" value="Ki and Health Regeneration +500/s."/>
<attribute key="weight" value="4800"/>
<attribute key="healthGain" value="5000"/> -- quanto vai heala de health
<attribute key="healthTicks" value="2000" /> --de quanto em quanto tempo vai healar 2000=2 segundos
<attribute key="armor" value="70"/>
<attribute key="slotType" value="legs"/>

 

adicione esta tag em movements/movements

 

<!-- Samurai Helmet -->

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

<vocation id="4"/>

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

</movevent>

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

 

cara voce tentou adicionar essa tag em movements ?

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

  • 0

<?xml version="1.0"?>



<movements>

<movevent event="StepIn" itemid="7353" script="first.lua" />

<movevent event="StepIn" itemid="425" script="first.lua" />

<movevent event="StepIn" itemid="1798" script="first.lua" />

<movevent event="StepIn" itemid="3170" script="gravity_machine.lua" />

<movevent event="StepIn" itemid="448" script="exp.lua" />

<movevent event="Equip" itemid="2197" slot="necklace" function="onEquipItem" />

<movevent event="DeEquip" itemid="2197" slot="necklace" function="onDeEquipItem" />

<movevent event="Equip" itemid="2207" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2210" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2210" slot="ring" function="onDeEquipItem" />

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

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

 

<movevent event="Equip" itemid="2208" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2211" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2211" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2209" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2212" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2212" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2213" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2215" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2215" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2214" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2216" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2216" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2168" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2205" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2205" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2165" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2202" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2202" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2166" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2203" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2203" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2167" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2204" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2204" slot="ring" function="onDeEquipItem" />

 

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

<vocation id="4"/>

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

</movevent>

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

 

<movevent event="Equip" itemid="2169" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="2206" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="2206" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem" />

<movevent event="DeEquip" itemid="2195" slot="feet" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="6132" slot="feet" function="onEquipItem" />

<movevent event="Equip" itemid="2640" slot="feet" function="onEquipItem" />

<movevent event="DeEquip" itemid="2640" slot="feet" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem" />

<movevent event="Equip" itemid="6301" slot="ring" function="onEquipItem" />

<movevent event="DeEquip" itemid="6301" slot="ring" function="onDeEquipItem" />

 

<movevent event="Equip" itemid="7423" slot="feet" function="onEquipItem" />

<movevent event="DeEquip" itemid="7423" slot="feet" function="onDeEquipItem" />

 

<movevent event="StepOut" itemid="1228" script="leveldoors.lua" />

<movevent event="StepOut" itemid="1230" script="leveldoors.lua" />

<movevent event="StepOut" itemid="1246" script="leveldoors.lua" />

<movevent event="StepOut" itemid="1248" script="leveldoors.lua" />

<movevent event="StepOut" itemid="1260" script="leveldoors.lua" />

<movevent event="StepOut" itemid="1262" script="leveldoors.lua" />

<movevent event="StepOut" itemid="3541" script="leveldoors.lua" />

<movevent event="StepOut" itemid="3550" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5104" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5113" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5122" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5131" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5293" script="leveldoors.lua" />

<movevent event="StepOut" itemid="5295" script="leveldoors.lua" />

<movevent event="StepOut" itemid="6207" script="leveldoors.lua" />

<movevent event="StepOut" itemid="6209" script="leveldoors.lua" />

<movevent event="StepOut" itemid="6264" script="leveldoors.lua" />

<movevent event="StepOut" itemid="6266" script="leveldoors.lua" />

 

 

 

<movevent event="StepOut" itemid="670" script="snow.lua" />

<movevent event="StepOut" itemid="6580" script="snow.lua" />

<movevent event="StepOut" itemid="6580" script="snow.lua" />

<movevent event="StepOut" itemid="6581" script="snow.lua" />

<movevent event="StepOut" itemid="6582" script="snow.lua" />

<movevent event="StepOut" itemid="6583" script="snow.lua" />

<movevent event="StepOut" itemid="6584" script="snow.lua" />

<movevent event="StepOut" itemid="6585" script="snow.lua" />

<movevent event="StepOut" itemid="6586" script="snow.lua" />

<movevent event="StepOut" itemid="6587" script="snow.lua" />

<movevent event="StepOut" itemid="6588" script="snow.lua" />

<movevent event="StepOut" itemid="6589" script="snow.lua" />

<movevent event="StepOut" itemid="6590" script="snow.lua" />

<movevent event="StepOut" itemid="6591" script="snow.lua" />

<movevent event="StepOut" itemid="6592" script="snow.lua" />

<movevent event="StepOut" itemid="6593" script="snow.lua" />

<movevent event="StepOut" itemid="3192" script="snow2.lua" />

 

</movements>

Link para o comentário
Compartilhar em outros sites

  • 0

teste assim

 


<?xml version="1.0"?>
<movements>
<movevent event="StepIn" itemid="7353" script="first.lua" />
<movevent event="StepIn" itemid="425" script="first.lua" />
<movevent event="StepIn" itemid="1798" script="first.lua" />
<movevent event="StepIn" itemid="3170" script="gravity_machine.lua" />
<movevent event="StepIn" itemid="448" script="exp.lua" />
<movevent event="Equip" itemid="2197" slot="necklace" function="onEquipItem" />
<movevent event="DeEquip" itemid="2197" slot="necklace" function="onDeEquipItem" />
<movevent event="Equip" itemid="2207" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2210" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2210" slot="ring" function="onDeEquipItem" />
<movevent type="Equip" itemid="7410" slot="armor" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="7410" slot="armor" event="function" value="onDeEquipItem"/>

<movevent event="Equip" itemid="2208" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2211" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2211" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2209" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2212" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2212" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2213" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2215" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2215" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2214" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2216" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2216" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2168" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2205" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2205" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2164" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2164" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2165" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2202" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2202" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2166" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2203" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2203" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2167" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2204" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2204" slot="ring" function="onDeEquipItem" />

<movevent type="Equip" itemid="3975" slot="head" event="function" value="onEquipItem">
<movevent type="DeEquip" itemid="3975" slot="head" event="function" value="onDeEquipItem"/>

<movevent event="Equip" itemid="2169" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="2206" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="2206" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="2195" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="2195" slot="feet" function="onDeEquipItem" />

<movevent event="Equip" itemid="6132" slot="feet" function="onEquipItem" />
<movevent event="Equip" itemid="2640" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="2640" slot="feet" function="onDeEquipItem" />

<movevent event="Equip" itemid="6300" slot="ring" function="onEquipItem" />
<movevent event="Equip" itemid="6301" slot="ring" function="onEquipItem" />
<movevent event="DeEquip" itemid="6301" slot="ring" function="onDeEquipItem" />

<movevent event="Equip" itemid="7423" slot="feet" function="onEquipItem" />
<movevent event="DeEquip" itemid="7423" slot="feet" function="onDeEquipItem" />

<movevent event="StepOut" itemid="1228" script="leveldoors.lua" />
<movevent event="StepOut" itemid="1230" script="leveldoors.lua" />
<movevent event="StepOut" itemid="1246" script="leveldoors.lua" />
<movevent event="StepOut" itemid="1248" script="leveldoors.lua" />
<movevent event="StepOut" itemid="1260" script="leveldoors.lua" />
<movevent event="StepOut" itemid="1262" script="leveldoors.lua" />
<movevent event="StepOut" itemid="3541" script="leveldoors.lua" />
<movevent event="StepOut" itemid="3550" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5104" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5113" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5122" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5131" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5293" script="leveldoors.lua" />
<movevent event="StepOut" itemid="5295" script="leveldoors.lua" />
<movevent event="StepOut" itemid="6207" script="leveldoors.lua" />
<movevent event="StepOut" itemid="6209" script="leveldoors.lua" />
<movevent event="StepOut" itemid="6264" script="leveldoors.lua" />
<movevent event="StepOut" itemid="6266" script="leveldoors.lua" />



<movevent event="StepOut" itemid="670" script="snow.lua" />
<movevent event="StepOut" itemid="6580" script="snow.lua" />
<movevent event="StepOut" itemid="6580" script="snow.lua" />
<movevent event="StepOut" itemid="6581" script="snow.lua" />
<movevent event="StepOut" itemid="6582" script="snow.lua" />
<movevent event="StepOut" itemid="6583" script="snow.lua" />
<movevent event="StepOut" itemid="6584" script="snow.lua" />
<movevent event="StepOut" itemid="6585" script="snow.lua" />
<movevent event="StepOut" itemid="6586" script="snow.lua" />
<movevent event="StepOut" itemid="6587" script="snow.lua" />
<movevent event="StepOut" itemid="6588" script="snow.lua" />
<movevent event="StepOut" itemid="6589" script="snow.lua" />
<movevent event="StepOut" itemid="6590" script="snow.lua" />
<movevent event="StepOut" itemid="6591" script="snow.lua" />
<movevent event="StepOut" itemid="6592" script="snow.lua" />
<movevent event="StepOut" itemid="6593" script="snow.lua" />
<movevent event="StepOut" itemid="3192" script="snow2.lua" />

</movements>

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...