SL

Como Editar Um Item De Healer De Vida E Mana

Por Slayersg, 02 de nov. de 2011 em Actions e Talkactions

otserv
tibia
script
2
1.6k
SlayersgS
02 de novembro de 2011 às 12:27

Eaew blz?

 

Vo ensina como editar um item que heala vida e mana!

 

 

vamos começa?!

 

1° Abra a pasta do seu ot dps vai em Data/items/items.XML(Abra o items.XML com bloco de notas)

 

2° Vo usar como base o item Golden Armor seu script vai está asim

 

</item>

<item id="2466" article="a" name="golden armor">

<attribute key="description" value="It is an

enchanted armor." />

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

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

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

</item>

 

ADD + esse script

 

<attribute key="healthgain" value="100" />

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

<attribute key="manaGain" value="100" />

<attribute key="manaTicks" value="1000" />

 

Ficara asim:

 

</item>

<item id="2466" article="a" name="golden armor">

<attribute key="description" value="It is an

enchanted armor." />

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

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

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

<attribute key="healthgain" value="100" />

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

<attribute key="manaGain" value="100" />

<attribute key="manaTicks" value="1000" />

</item>

 

3° Agora vamos Editar:

 

vzwoow.png

 

O de vermelho é a vida q vai recupera aonde está 100 vc coloca o n° q quizer isso defini o life q vai recupera

 

o Violeta é a mana no lugar do 100 coloca qualquer n° q vc quiser isso defini o tanto de mana q vai recupera

 

 

E se vc quiser soh q recupere a vida vc deleta o script da mana ficara asim:

 

</item>

<item id="2466" article="a" name="golden armor">

<attribute key="description" value="It is an

enchanted armor." />

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

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

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

<attribute key="healthgain" value="100" />

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

</item>

 

E se vc q recupere soh a mana o script ficara asim:

 

</item>

<item id="2466" article="a" name="golden armor">

<attribute key="description" value="It is an enchanted armor." />

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

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

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

<attribute key="manaGain" value="100" />

<attribute key="manaTicks" value="1000" />

</item>

 

Ai vc editar do jeito q vc quiser

 

Bem é isso aew gente

 

itachi-uchiha-small.jpg

 

 

GOSTO? REP+ :button_ok: :people: Cristianogomes10@hotmail.com

Editado Novembro 2 por Slayersg

SkyDangerousS
02 de novembro de 2011 às 19:19

Bem legal.

Bem explicado.

 

Parabéns !