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

custom wand dosnt work.

Boyegas

New Member
Joined
Jan 27, 2009
Messages
159
Reaction score
1
Hello, so I created a wand based on the sprite of a mace item id 2453. I added this into weapons.xml
<wand id="2453" level="50" mana="20" min="80" max="100" type="energy" event="function" value="default"> <!-- Wand of Boyegas -->
<vocation id="1"/>
<vocation id="2" showInDescription="0"/>

In items.xml I deleted the old item and copy pasted a wand and changed the name to wand of Boyegas.

19:59 You see a wand of boyegas.
It can only be wielded properly by players of level 75 or higher.
It weighs 30.00 oz.
This magical item belonged to boyegas ancestors.
ItemID: [2453].
Position: [X: 651] [Y: 582] [Z: 7].

The problem is that it deals the same damage as the wand I copied. I already changed the min and the max. The level also is the same as the item I replaced.

Also in my console it says warning duplicate registered item with id 2453. WHAT IS THAT? the wand works except the problems mentiones above.
 
I prefer to use other sprite like [7753].

Enter items.xml and find item with id 7753 and edit it to.

Code:
	<item id="7735" article="the" name="donate wand">
		<attribute key="description" value="Only donators have this wand."/>
		<attribute key="weight" value="1900"/>
		<attribute key="weaponType" value="wand"/>
		<attribute key="shootType" value="holy"/>
		<attribute key="range" value="5"/>
	</item>

Now go to weapons.xml and add.
Code:
	<wand id="7735" level="75" mana="20" min="150" max="200" type="holy" event="function" value="default"> <!-- Donator Wand -->
		<vocation name="Druid" showInDescription="0"/>
		<vocation name="Sorcerer" showInDescription="0"/>
	</wand>

Rep me if i help :)
 
Also in my console it says warning duplicate registered item with id 2453. WHAT IS THAT? the wand works except the problems mentiones above.

What that means is in the weapons.xml there is two places that the id 2453 is being used.

So go to weapons.xml and edit the file, Search for id 2453 And see if there is two locations. If there is delete the one that is not your wand. Problem should be sloved

Rep if this works
 
Back
Top