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

Change the item to be used for unique vocation

marwell

GM Marwell
Joined
Oct 26, 2011
Messages
16
Reaction score
0
Location
Brazil
Hi guys, I've created some items set to my players and them can only use the items for her vocation.
Example, I've created a War Mage Cape, and I want only sorcerers and druids using this item, how can I do that?

I'm using TFS 0.3.6 and Baiak Custom Map.

EDIT: More one question:
I want to change my potions, all potions are infinite and players buy some one potion and there are all inifinite, how to change it?

Thanks!
 
Last edited:
copy pasted from a random spot in our movements.xml, for reference
Code:
<movevent type="Equip" itemid="6528" level="281" slot="hand" event="function" value="onEquipItem">
    <vocation id="1" showInDescription="1"/>
    <vocation id="5" showInDescription="0"/>
</movevent>
<movevent type="DeEquip" itemid="6528" level="281" slot="hand" event="function" value="onDeEquipItem"/>
 
Back
Top