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

Wand - vocation requirement problem

xexam

New Member
Joined
Aug 3, 2010
Messages
172
Reaction score
2
items.xml \/

<item id="2188" article="a" name="wand of decay">
<attribute key="description" value="It is half-rotten itself and reeks terribly." />
<attribute key="weight" value="2300" />
<attribute key="weaponType" value="wand" />
<attribute key="shootType" value="death" />
<attribute key="range" value="3" />
</item>

weapons.xml \/

<wand id="2188" level="19" mana="5" min="27" max="33" type="death" event="function" value="default"> <!-- Wand of Decay -->
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>
<vocation id="9" showInDescription="0"/>
</wand>


and it can be also equipped by knights, druids, paladins... not ONLY for sorcerers like in rl tibia. Please help to fix it


i use crying damson 0.3.6
 
you should add onEquip in movements.xml...

<movevent type="Equip" itemid="2188" slot="hand" event="function" value="onEquipItem"/>
<movevent type="DeEquip" itemid="2188" slot="hand" event="function" value="onDeEquipItem"/>
<vocation id="1"/>
<vocation id="5" showInDescription="0"/>

it doesnt work also. yes i can equip(all vocations), but no use (only sorc can use it)
 
XML:
-
	<movevent type="Equip" itemid="2188" slot="hand" event="function" value="onEquipItem">
		<vocation id="1"/>
		<vocation id="5" showInDescription="0"/>
	</movevent>
	<movevent type="DeEquip" itemid="2188" slot="hand" event="function" value="onDeEquipItem"/>
 
Back
Top