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

Lua Item.xml new items!

sebbe hbk

Mapper - Hoster
Joined
Sep 1, 2009
Messages
164
Reaction score
3
Location
I ditt garage
I dont get it... I have maked donation items but it doesnt add magiclevels points when it says: 11:58 You see Mage legs (Arm:8, magic level +5, protection physical +2%).
It weighs 66.00 oz.

Is it something wrong in my item.xml?

Code:
	<item id="11298" name="Mage legs">
		<attribute key="armor" value="8" />
		<attribute key="slotType" value="legs" />
		<attribute key="absorbPercentPhysical" value="2" />
		<attribute key="magiclevelpoints" value="5" />
		<attribute key="weight" value="6600" />
	</item>

Is it to much space between <attribute key? and the beginning of the text? Like this:

Code:
     <item id="11298" name="Mage legs">
	  <attribute key="armor" value="8" />
	  <attribute key="slotType" value="legs" />
	  <attribute key="absorbPercentPhysical" value="2" />
	  <attribute key="magiclevelpoints" value="5" />
	  <attribute key="weight" value="6600" />
     </item>

Repp++
 
You need movements.
XML:
<movevent type="Equip" itemid="11298" slot="legs" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="11298" slot="slot" legs="function" value="onDeEquipItem"/>
 
Back
Top