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

Regeneration Boots Problem

tarekwiz

Hellbot Owner
Joined
Feb 17, 2011
Messages
240
Reaction score
7
i Have Made An Item That regenerates Mp/hp But It Doesnt Regenrate Anything Need help Please This Is The Code Of The Item
PHP:
	<item id="11113" name="Regeneration Boots">
		<attribute key="armor" value="3" />
		<attribute key="speed" value="50" />
		<attribute key="healthGain" value="20" />
		<attribute key="healthTicks" value="1000" />
		<attribute key="manaGain" value="50" />
		<attribute key="manaTicks" value="1000" />
		<attribute key="absorbPercentIce" value="5" />
		<attribute key="absorbPercentEnergy" value="5" />
		<attribute key="absorbPercentFire" value="5" />
		<attribute key="absorbPercentPoison" value="5" />
		<attribute key="slotType" value="feet" />
		<attribute key="weight" value="2250" />
	</item>
AnyBody Can Help??
I Rep++ If You Helped
P.S I Dont Want it To have A Duration
 
</item>
<item id="9932" article="a" name="firewalker boots">
<attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
<attribute key="weight" value="950" />
<attribute key="armor" value="2" />
<attribute key="slotType" value="feet" />
<attribute key="healthGain" value="40" />
<attribute key="healthTicks" value="1000" />
<attribute key="manaGain" value="70" />
<attribute key="manaTicks" value="1500" />
<attribute key="showattributes" value="1" />

</item>
<item id="9933" article="a" name="firewalker boots">
<attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
<attribute key="weight" value="950" />
<attribute key="absorbPercentIce" value="5" />
<attribute key="absorbPercentEnergy" value="5" />
<attribute key="absorbPercentFire" value="5" />
<attribute key="absorbPercentPoison" value="5" />
<attribute key="armor" value="2" />
<attribute key="slotType" value="feet" />
<attribute key="transformEquipTo" value="9932" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />


Change name, id and description
 
Lol
Didn't understan can you please make it work from the given code just make changes and give me
i Rep++ if you helped
 
Well go to data/items/ then open the file items.xml

Then write in:

<!-- DONS-->
</item>
<item id="11113" article="a" name="Regeneration Boots">
<attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
<attribute key="weight" value="950" />
<attribute key="armor" value="2" />
<attribute key="slotType" value="feet" />
<attribute key="healthGain" value="40" />
<attribute key="healthTicks" value="1000" />
<attribute key="manaGain" value="70" />
<attribute key="manaTicks" value="1500" />
<attribute key="showattributes" value="1" />

</item>
<item id="11113" article="a" name="Regeneration Boots">
<attribute key="description" value="Wearing these boots reduces the damage gotten from fiery ground." />
<attribute key="weight" value="950" />
<attribute key="absorbPercentIce" value="5" />
<attribute key="absorbPercentEnergy" value="5" />
<attribute key="absorbPercentFire" value="5" />
<attribute key="absorbPercentPoison" value="5" />
<attribute key="armor" value="2" />
<attribute key="slotType" value="feet" />
<attribute key="transformEquipTo" value="11113" />
<attribute key="stopduration" value="1" />
<attribute key="showduration" value="1" />



BUT YOU HAVE TO DELETE THE CRYSTAL BOOTS CODE!
 
data/movements/movements.xml
PHP:
<movevent type="Equip" itemid="11113" slot="feet" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="2"/>
		<vocation id="6" showInDescription="0"/>
		<vocation id="3"/>
		<vocation id="7" showInDescription="0"/>
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="11113" slot="feet" event="function" value="onDeEquipItem"/>
 
data/movements/movements.xml
PHP:
<movevent type="Equip" itemid="11113" slot="feet" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="2"/>
		<vocation id="6" showInDescription="0"/>
		<vocation id="3"/>
		<vocation id="7" showInDescription="0"/>
		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="11113" slot="feet" event="function" value="onDeEquipItem"/>

Thank you rep+.. But is there a easy way to remove "can only be proberly used by...." It shows all vocations so it's really just there :p


Nvm I fixed it ;d
 
Back
Top