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

I Need help with items

wileksnk18

New Member
Joined
Oct 31, 2010
Messages
2
Reaction score
0
i have made some items but they doesn't work its look like it.

Code:
10:37 You see a dragon scale helmet (Arm:11, club fighting +3, sword fighting +3, axe fighting +3, shielding +3).
It weighs 51.00 oz.

in items.xml

Code:
	<item id="2506" article="a" name="dragon scale helmet">
        <attribute key="weight" value="5100"/>
        <attribute key="armor" value="11"/>
        <attribute key="skillShield" value="3"/>
        <attribute key="skillSword" value="3"/>
        <attribute key="skillAxe" value="3"/>
        <attribute key="skillClub" value="3"/>
        <attribute key="slotType" value="head"/>

it says it give skills but when i equip the item i dont have that skills can someone help me?
 
Code:
<item id="2506" article="a" name="dragon scale helmet">
        <attribute key="armor" value="11"/>
        <attribute key="slotType" value="head"/>
        <attribute key="weight" value="5100"/>
	<attribute key="skillAxe" value="3" />
	<attribute key="skillSword" value="3" />
	<attribute key="skillClub" value="3" />
	<attribute key="skillShield" value="3" />
</item>
if dont work dont use
<attribute key="skillShield" value="3" />
rep me if im help
 
This should work, add in movements.xml
XML:
<movevent type="Equip" itemid="2506" slot="head" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="2"/>
		<vocation id="3"/>
		<vocation id="4"/>
		<vocation id="5" showInDescription="0"/>
		<vocation id="6" showInDescription="0"/>
		<vocation id="7" showInDescription="0"/>
		<vocation id="8" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2506" slot="head" event="function" value="onDeEquipItem"/>
 
Back
Top