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

Items edited

Ific

New Member
Joined
Apr 14, 2009
Messages
209
Reaction score
0
Location
My Paradise
Hello, I wanna know how make an item only usable for one vocation.
Anyone can help me?

with xml code please

Regards.
^_^
 
Go to: data/movements/ and open movements.xml
Add vocation and item ID.
Example:
Code:
	<movevent type="DeEquip" itemid="[COLOR="Red"]7887[/COLOR]" slot="[COLOR="Red"]necklace[/COLOR]" event="function" value="onDeEquipItem"/>
	<movevent type="Equip" itemid="[COLOR="Red"]7888[/COLOR]" slot="[COLOR="Red"]necklace[/COLOR]" event="function" value="onEquipItem">
		<vocation name="[COLOR="Red"]Sorcerer[/COLOR]"/>
		<vocation name="[COLOR="Red"]Master Sorcerer[/COLOR]" showInDescription="0"/>
		<vocation name="[B]Druid[/B]"/>
		<vocation name="[COLOR="Red"]Elder Druid[/COLOR]" showInDescription="0"/>
	</movevent>

This necklace would only be available for druids/elder druids and sorcerers/mastersorcerers.
Edit the red text to match your expectations.
 
Back
Top