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

About coustom items like "Leather Armor adding +2 mlvl"

Wiw3K

New Member
Joined
Apr 16, 2008
Messages
371
Reaction score
3
ok so like title says , i modified Native Armor to add +3 Distance Fighting and in game i see You see native armor blebleble +3 Distance Fighting , when i wear it my Dist is still same as before T_T

here is what i have in items.xml

LUA:
	</item>
	<item id="2508" article="a" name="native armor">
	<attribute key="armor" value="14"/>
	<attribute key="slotType" value="body"/>
	<attribute key="weight" value="6900"/>
	<attribute key="skillDist" value="3"/>
	</item>
 
Add this to movements.xml
PHP:
<movevent type="Equip" itemid="ITEMID" slot="armor" event="function" value="onEquipItem">
		<vocation name="Knight"/>
		<vocation name="Elite Knight" showInDescription="0"/>
		<vocation name="Paladin"/>
		<vocation name="Royal Paladin" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="ITEM ID" slot="armor" event="function" value="onDeEquipItem"/>
 
ok so like title says , i modified Native Armor to add +3 Distance Fighting and in game i see You see native armor blebleble +3 Distance Fighting , when i wear it my Dist is still same as before T_T

here is what i have in items.xml

LUA:
	</item>
	<item id="2508" article="a" name="native armor">
	<attribute key="armor" value="14"/>
	<attribute key="slotType" value="body"/>
	<attribute key="weight" value="6900"/>
	<attribute key="skillDist" value="3"/>
	</item>

You need to add that the person posted above me for everything like this you change.
 
Back
Top