• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Windows Stats to items doesnt work on some items ;s

alexis007

New Member
Joined
Nov 7, 2011
Messages
5
Reaction score
0
Im trying to add Sword Skills to this item:

PHP:
<item id="6433" article="a" name="Knight donation shield">
		<attribute key="description" value="11000" />
		<attribute key="weight" value="3200" />
		<attribute key="defense" value="100" />
		<attribute key="skillSword" value="5" />
		<attribute key="weaponType" value="shield" />
	</item>

and this ring too:

PHP:
<item id="7697" article="a" name="Skill ring">
		<attribute key="weight" value="80" />
	     <attribute key="skillDist" value="7" />
		<attribute key="skillSword" value="7" />
		<attribute key="slotType" value="ring" />
	</item>



but i dont get the sword skills, can someone help me? :)
 
Last edited:
You need to add them to movements.xml

Try adding this to movements\movements.xml
Code:
	<movevent type="Equip" itemid="6433" slot="shield" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="6433" slot="shield" event="function" value="onDeEquipItem"/>

	<movevent type="Equip" itemid="7697" slot="ring" event="function" value="onEquipItem"/>
	<movevent type="DeEquip" itemid="7697" slot="ring" event="function" value="onDeEquipItem"/>


Hope this helps.
 

Similar threads

Back
Top