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

Problem when trying to add skills to an item.

Zacha

New Member
Joined
Mar 1, 2012
Messages
19
Reaction score
1
Location
The Netherlands
As the title says I got an problem when im trying to add skillls to an item.
In items.xml I add this to an item:
Code:
		<attribute key="skillSword" value="5"/>
		<attribute key="skillAxe" value="5"/>
Then when I look the item in-game it says +5 sword and +5 axe but my axe and sword stay on 10.
If someone can help me if would be greatly appreciated.
 
You need to edit movements.xml for example
Code:
	<movevent type="DeEquip" itemid="12606" slot="head" event="function" value="onDeEquipItem"/>
	<movevent type="Equip" itemid="9777" slot="legs" event="function" value="onEquipItem">
		<vocation name="Royal Paladin"/>
		<vocation name="Paladin"/>

This is a movement for a object "12606" a helmet for vocs Paladin and Rpaladin
 

Similar threads

Replies
0
Views
180
Back
Top