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

Glidarn

Member
Joined
May 9, 2009
Messages
970
Reaction score
16
Location
Åkersberga, Sweden
Good evening, i am having a problem with my royal scale robe... hte thing is when i put it on i get +3 in ml but when i remove it i still have +3 in ml, it dissappear when i relog again and i dno why... :S


Lua:
	<item id="12764" article="a" name="royal scale robe">
		<attribute key="weight" value="4500" />
		<attribute key="armor" value="12" />
		<attribute key="slotType" value="body" />
		<attribute key="magicLevelpoints" value="3" />
	</item>
 
<item id="12764" article="a" name="royal scale robe">
<attribute key="weight" value="4500" />
<attribute key="armor" value="12" />
<attribute key="slotType" value="body" />
<attribute key="magiclevelpoints" value="3" />
</item>


movements

<movevent type="Equip" itemid="12764" slot="body" event="function" value="onEquipItem">
 
actually it's this one hes missing

Code:
<movevent type="DeEquip" itemid="12764" slot="body" event="function" value="onDeEquipItem"/>


i have thos one

XML:
	<movevent type="DeEquip" itemid="12763" slot="armor" event="function" value="onDeEquipItem"/>
	<movevent type="Equip" itemid="12764" slot="armor" event="function" value="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Druid"/>
	</movevent>
 
Code:
	<movevent type="Equip" itemid="12764" slot="armor" event="function" value="onEquipItem">
		<vocation name="Sorcerer"/>
		<vocation name="Druid"/>
	</movevent>
        <movevent type="DeEquip" itemid="12764" slot="armor" event="function" value="onDeEquipItem"/>

try that 1
 
Back
Top