• 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 movements error

Smygarn

New Member
Joined
Feb 24, 2009
Messages
31
Reaction score
1
So i just found the draken items ( royal scale robe, blade of corruption, shield of corruption, cobra crown, royal draken helmet and snake god's wristguard)


Though the problem is the that the helmet doesnt give any distance, and the wristguard doesnt give ml and no sword fighting for the shield...

I know its something with movements but i don't know what i shall write.

so i'll post my lua's here and hope that someone can help me.

Lua:
		<item id="12644" article="a" name="shield of corruption">
		<attribute key="weight" value="4900" />
		<attribute key="defense" value="36" />
		<attribute key="skillSword" value="3" />
		<attribute key="weaponType" value="shield" />
	</item>

Lua:
		<item id="12645," article="an" name="elite draken helmet">
		<attribute key="weight" value="4300"/>
		<attribute key="armor" value="9"/>
		<attribute key="skillDist" value="1"/>
		<attribute key="absorbPercentDeath" value="3"/>
		<attribute key="slotType" value="head"/>
	</item>


Lua:
		<item id="12647" article="a" name="snake god's wristguard">
		<attribute key="description" value="It shows your spells and can also shield against attack when worn." />
		<attribute key="weight" value="2800" />
		<attribute key="magiclevelpoints" value="3" />
		<attribute key="defense" value="14" />
		<attribute key="weaponType" value="shield" />
	</item>


I only got movements for elite draken helmet but it doesnt work either :/

Lua:
			<movevent type="Equip" itemid="12645" slot="head" level="100" event="function" value="onEquipItem">
		<vocation name="paladin"/>
	</movevent>
		<movevent type="Equip" itemid="12645" slot="head" event="function" value="onEquipItem">
		<vocation id="3"/>
		<vocation id="7" showInDescription="0"/>
	</movevent>


or can anyone post where i can find such movements 'cause i have been searching but with no luck as you can see.
 
PHP:
<movevent type="Equip" itemid="yyxxz" slot="armor" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="2"/>
		<vocation id="6" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="yyxxz" slot="armor" event="function" value="onDeEquipItem"/>

Change "yyxxz" for itemid of royal scale robe.

PHP:
	<movevent type="Equip" itemid="zzxxyy" slot="head" event="function" value="onEquipItem">
		<vocation id="3"/>
		<vocation id="7" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="zzxxyy" slot="head" event="function" value="onDeEquipItem"/>

change "zzxxyy" for item id of elite draken helmet etc...
copy and paste these scripts and make sure to change the slot, Armor, Legs, Helmet, Etc. ..
 
Back
Top