• 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 Item adds Magic Level

atyll

Member
Joined
Dec 30, 2008
Messages
380
Reaction score
16
Hello

I try to make my dwarvven helmet (ID:2502) add magic levels to player.

I tried:

Items.xml
Code:
	<item id="2502" article="a" name="dwarven helmet">
		<attribute key="weight" value="4200"/>
		<attribute key="description" value="Magic Level +2."/>
		<attribute key="armor" value="11"/>
		<attribute key="slotType" value="head"/>
		<attribute key="magiclevelpoints" value="20"/>
	</item>

and Movements.xml
Code:
	<movevent event="Equip" itemid="2502" slot="head" function="onEquipItem"/>
	<movevent event="DeEquip" itemid="2502" slot="head" function="onDeEquipItem"/>

But it doesn't work.

I Use Avesta 7.6
 
Lua:
	<item id="2502" article="a" name="dwarven helmet">
		<attribute key="weight" value="4200"/>
		<attribute key="description" value="Magic Level +2."/>
		<attribute key="armor" value="11"/>
		<attribute key="slotType" value="head"/>
		<attribute key="magicpoints" value="20"/> 
	</item>

Try this
 
Back
Top