• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Custom boots

vTune

KakelmästareN^
Joined
Jun 14, 2012
Messages
3,675
Best answers
0
Reaction score
376
Location
Sweden
Hello everyon!

Since I'm not so good with the attributes in xml I would just wondering if you guys could help me out'!
I would like that these pait of boots gave 100speed, 200 hp/5s 150 hp/5s and last forever?

Just comment if you dont understand what I want ^^
PHP:
	<item id="5462" name="Donate Boots">
		<attribute key="speed" value="100" />
		<attribute key="weight" value="1200"/>
		<attribute key="slotType" value="feet"/>
		<attribute key="transformDeEquipTo" value="5462"/>
		<attribute key="healthGain" value="200"/>
		<attribute key="healthTicks" value="500"/>
		<attribute key="manaGain" value="150"/>
		<attribute key="manaTicks" value="500"/>
	</item>
Kind Regards vTune
 

Ninja

Global Moderator
Staff member
Global Moderator
Joined
Apr 6, 2010
Messages
5,946
Best answers
33
Reaction score
1,445
Location
Sweden
XML:
<item id="5462" name="Donate Boots"> 
        <attribute key="weight" value="1200"/> 
        <attribute key="slotType" value="feet"/>
        <attribute key="speed" value="200" />         
        <attribute key="healthGain" value="200"/> 
        <attribute key="healthTicks" value="5000"/> 
        <attribute key="manaGain" value="150"/> 
        <attribute key="manaTicks" value="5000"/> 
</item>
 
OP
vTune

vTune

KakelmästareN^
Joined
Jun 14, 2012
Messages
3,675
Best answers
0
Reaction score
376
Location
Sweden
As always thank you Ninja
 

iKaS

Member
Joined
May 9, 2009
Messages
217
Best answers
0
Reaction score
14
Location
Barcelona
In movements.xml:
Code:
        <movevent type="Equip" itemid="5462" slot="feet" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="5462" slot="feet" event="function" value="onDeEquipItem"/>
 
OP
vTune

vTune

KakelmästareN^
Joined
Jun 14, 2012
Messages
3,675
Best answers
0
Reaction score
376
Location
Sweden
Doesnt work :/ even if i use movements.xml :/ Someone?
 
Top