• 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!

How To Make My Boots Gives Mana And Hp

3mR

Mapper
Joined
May 29, 2012
Messages
322
Reaction score
42
Hello ! :D
I want to Chnage my normal boots to vip boots
Like
(Gives 150 Mana , and Hp )
 
In items.xml you can use the following attributes.

Code:
		<attribute key="manaGain" value="150"/>
		<attribute key="manaTicks" value="2000"/>

You can change mana to health, Gain is amount of mana in "ticks", 2000 ticks are 2 seconds.
Don't forget to add the item too on movements.xml
 
Thanks

- - - Updated - - -

@Loney
Look I dont know to add Movements.xml
<movevent type="DeEquip" itemid="9932" slot="feet" event="function" value="onDeEquipItem"/>
this my boots in movements.xml
waht i can do :$
 
Is very easy..
example ..
go to data/movements open movements.xml
search:
LUA:
<movevent type="Equip" itemid="2195" slot="feet" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="2195" slot="feet" event="function" value="onDeEquipItem"/>
now down paste this
LUA:
<movevent type="Equip" itemid="9932" slot="feet" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="9932" slot="feet" event="function" value="onDeEquipItem"/>

9932 is ID your boots..
Loney say you enter items.xml
search ID.. your boots and paste this in atributes:
LUA:
<attribute key="manaGain" value="150"/>
<attribute key="manaTicks" value="2000"/>
 <attribute key="healthGain" value="150" />
<attribute key="healthTicks" value="2000" />

Now for works boots, need reset your ot.. neve use /reload items not works and crash ot..
example add atributes soft boots...
this soft boots not have atributes for heal and mana..
LUA:
<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800" />
		<attribute key="slotType" value="feet" />
		<attribute key="decayTo" value="10021" />
		<attribute key="transformDeEquipTo" value="6132" />
		<attribute key="duration" value="14400" />
		<attribute key="showduration" value="1" />
	</item>
need use this:
LUA:
<item id="2640" article="a" name="pair of soft boots">
		<attribute key="weight" value="800" />
		<attribute key="slotType" value="feet" />
		<attribute key="decayTo" value="10021" />
		<attribute key="transformDeEquipTo" value="6132" />
		<attribute key="duration" value="14400" />
		<attribute key="healthGain" value="25" />
		<attribute key="healthTicks" value="1000" />
		<attribute key="manaGain" value="25" />
		<attribute key="manaTicks" value="1000" />
		<attribute key="showduration" value="1" />
	</item>

you added atributes in ID item..
 
Back
Top