KH

[dúvida Sanada] Por Apocarai

Por Khost, 30 de ago. de 2009 em Archived

script
3
593
KhostK
30 de agosto de 2009 às 19:18

Eu ponho pro helmet subir 150 de mana e live a cada um segundo e não funciona olhe :

 

<item id="7458" article="a" name="fur cap">
	<attribute key="weight" value="1800"/>
	<attribute key="armor" value="10"/>
	<attribute key="healthGain" value="150"/>
	<attribute key="healthTicks" value="150"/>
			<attribute key="manaGain" value="150"/>
	<attribute key="manaTicks" value="150"/>
	<attribute key="slotType" value="head"/>

 

ae eu ponho nesse e funciona ...

 

<item id="2474" article="a" name="winged helmet">
	<attribute key="description" value="It is the Helmet of Hermes."/>
	<attribute key="weight" value="1200"/>
	<attribute key="armor" value="10"/>
			<attribute key="healthGain" value="100"/>
	<attribute key="healthTicks" value="400"/>
			<attribute key="manaGain" value="100"/>
	<attribute key="manaTicks" value="400"/>
	<attribute key="slotType" value="head"/>

 

oque pode ser o msm acontece com a boots e ponho em uma determinada funciona e em outra não ...

 

Obrigado!

Editado Agosto 31 por Khost

joaohdJ
30 de agosto de 2009 às 20:45

tem que adicionar uma tag no movements.xml pra ele funcionar.

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

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

 

onde tem XXX coloca o id do item. ve se aora funciona...

flw

KhostK
30 de agosto de 2009 às 21:25

Obrigado Apocarai funciono aqui .

 

muito obrigado!

 

Obrigado!

Editado Agosto 31 por Khost