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

Vocation for item

matezz142

New Member
Joined
Dec 29, 2009
Messages
7
Reaction score
0
I want change vocations required to wear item.

For example:
Code:
<item id="8890" article="a" name="robe of the underworld">
		<attribute key="armor" value="12" />
		<attribute key="slotType" value="body" />
		<attribute key="weight" value="1900" />
		<attribute key="absorbPercentDeath" value="12" />
		<attribute key="absorbPercentHoly" value="-12" />
	</item>

I want make it wearable by druids too, but HOW? There aren't attribute key vocation ;(
 
I can't find robe of underworld in movements.xml?
It's probably missing in your distro, add:
Code:
	<movevent type="Equip" itemid="8890" slot="armor" level="100" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="8890" slot="armor" event="function" value="onDeEquipItem"/>
If I want to change so both druids and sorcerers can use Wand's.
How to?
weapons.xml
 
It's probably missing in your distro, add:
Code:
	<movevent type="Equip" itemid="8890" slot="armor" level="100" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="8890" slot="armor" event="function" value="onDeEquipItem"/>
weapons.xml

But like molten plate, frozen plate, divine plate etc.
How to change so knights can wear it?

Rep+
 
Code:
	<movevent type="Equip" itemid="8886" slot="armor" level="75" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
[B][COLOR="Red"]		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>[/COLOR][/B]
	</movevent>
 
Code:
	<movevent type="Equip" itemid="8886" slot="armor" level="75" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
[B][COLOR="Red"]		<vocation id="4"/>
		<vocation id="8" showInDescription="0"/>[/COLOR][/B]
	</movevent>

in movements.xml? or where
 
Back
Top