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

Lua Wand/Rod wieled by both

Dylanaw

Godly Member
Joined
Feb 18, 2009
Messages
473
Reaction score
10
Hello Otland!,
I'm trying to make a weapon for Sorcerers And Druids.

I'm trying to make this:
LUA:
	<item id="7735" article="a" name="star tear">
		<attribute key="description" value="It is sparkling with universal energy." />
		<attribute key="weight" value="2550" />
		<attribute key="weaponType" value="wand" />
		<attribute key="shootType" value="energy" />
		<attribute key="range" value="7" />

How to make it be wieled by both vactions? ; Sorcerers/Druids

I know i also have to add something in my weapon.xml but i have no idea what to type at:
Code:
<vocation id="2"/>
(Sorcerer = 1, Druids = 2)
Any idea's?

Thanks in adavance!
 
add in your weapons.xml

LUA:
<wand id="7735" level="lvl to use it" mana="mana it uses on shot" min="Min dmg" max="Max Dmg" type="energy" event="function" value="default"> <!-- Star tear -->
		<vocation id="1"/>
		<vocation id="5"/>
		<vocation id="2"/>
		<vocation id="6"/>
	</wand>
 
add in your weapons.xml

LUA:
<wand id="7735" level="lvl to use it" mana="mana it uses on shot" min="Min dmg" max="Max Dmg" type="energy" event="function" value="default"> <!-- Star tear -->
		<vocation id="1"/>
		<vocation id="5"/>
		<vocation id="2"/>
		<vocation id="6"/>
	</wand>

Thank u it worked =)
I think i just use the vocation id's = 1 + 2
Because another wands/rods are also useable whenever ur master sorcerer or elder druid. and they only got vocation id 1 or 2.
But thanks for ur help, repped
 
Back
Top