Distance Ring

vitoor666
em Actions e Talkactions

vitoor666

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 31/01/11Posts: 9

Bom,eu estava aqui fuçando o site ae me veio uma idéia e resolvi compartilhar com vcs

 

Vamo nessa !

 

primeiro va na pasta do seu ot/data/items ae vai ter um arquivo chamado items.xml, clique com o direito e dps em editar.Após isso vai abrir um bloco de notas ,aperte CTRL+F e vai pedir pra vc colocar um nome para encontrar,coloque 2123 que no caso é o numero do ring of the sky.

 

vc ira encontrar isso:

<item id="2123" article="a" name="ring of the sky">

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

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

</item>

 

Substitua por isso :

<item id="2123" article="a" name="distance ring">

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

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

<attribute key="transformEquipTo" value="6093"/>

<attribute key="stopduration" value="1"/>

<attribute key="showduration" value="1"/>

</item>

 

Após ter feito procure o item 6093 e vc ira encontrar isso:

<item id="6093" article="a" name="crystal ring">

<attribute key="description" value="The initials E.S. are engraved on it."/>

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

</item>

 

Substitua por isso:

<item id="6093" article="a" name="distance ring">

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

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

<attribute key="decayTo" value="0" />

<attribute key="transformDeEquipTo" value="2123" />

<attribute key="skillDist" value="4" />

<attribute key="duration" value="1800" />

<attribute key="showduration" value="1" />

</item>

Salve e feche

 

Azul:Quanto de distance ira atribuir ao player,se quiser mais altere os numeros.

Laranja:é o tempo q o ring ira durar,q aqui no caso é 30 minutos.

 

Agora adcionamos as tags em data/movements/movements.xml:

 

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

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

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

Salve e feche.

 

Pronto agora é só colocar seu distance ring,dar utito tempo san e sair dando pk =D

 

Ajudei?REP+

osbrot

Acesse www.osbrot.com.br e conheça um bom OTserver
avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 11/05/11Posts: 34Char no Tibia: ADM Fernando

Script facio, usado em outros rings mas com uma função diferente, e so usa a imaginação que se da pra criar novas coisas usando uma mesma coisa! +rep!

Conheça um bom OTserver OSBR-OT 24hrs on-line com você!

Acesse www.osbrot.com.br e conheça!

vitoor666

avatar
Campones
Campones

INFOS

Grupo: CamponesRegistrado: 31/01/11Posts: 9

vlw =)

SkyDangerous

Deus Kalec
avatar
Lorde
Lorde

INFOS

Grupo: LordeRegistrado: 17/01/09Posts: 2098Char no Tibia: Adra Sata

Tutorial simples de mais.

Não existe só funcão de distance , existe muitas outras tipo sword , club , axe , magic level , seria uma boa se adiciona-se no tutorial

Me segui lá (:

 

b906.png

http://ageofwar.servegame.com/

IP: ageofwar.servegame.com

TIBIA: 10.78

GLOBAL PERFECT CUSTOM