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

Items Editing Help (+Rep)

Murof

New Member
Joined
Jul 5, 2010
Messages
47
Reaction score
0
Hi guys, i need to edit some of my weapons. So i think the obvious and go to my items.xml file. I go there to see there is no weapons there!

So i figured, thats ok... Lets try weapons.xml

But there is a problem here.

All the items in weapons have no attributes! I cannot change their stuff!!

I am noob to scripting so maybe I am missing something?

Example of a weapon in weapon.xml (TFS 0.3.6)

Code:
<melee id="7429" level="75" unproperly="1" event="function" value="default"/>
 
Ok, what do i do to this to make it hit harder

Code:
	<item id="7410" article="a" name="Compaq Wand">
		<attribute key="weight" value="1450"/>
                <attribute key="weaponType" value="wand"/>
		<attribute key="shootType" value="holy"/>
		<attribute key="range" value="6"/>
		<attribute key="weight" value="1450"/>
 
Ok, what do i do to this to make it hit harder

Code:
	<item id="7410" article="a" name="Compaq Wand">
		<attribute key="weight" value="1450"/>
                <attribute key="weaponType" value="wand"/>
		<attribute key="shootType" value="holy"/>
		<attribute key="range" value="6"/>
		<attribute key="weight" value="1450"/>

Data -> WEAPONS -> weapons.xml

and edit this

Lua:
	<wand id="2190" level="7" mana="2" min="8" max="18" type="energy" event="function" value="default"> <!-- Wand of Vortex -->
		<vocation id="1"/>

What you edit is: min="8" max="18". Min, Stands for the minimum damage you want the wand/rod to deal and max stands for the maximum damage you want it to deal.
 
Data -> WEAPONS -> weapons.xml

and edit this

Lua:
	<wand id="2190" level="7" mana="2" min="8" max="18" type="energy" event="function" value="default"> <!-- Wand of Vortex -->
		<vocation id="1"/>

What you edit is: min="8" max="18". Min, Stands for the minimum damage you want the wand/rod to deal and max stands for the maximum damage you want it to deal.

damn u beat me :p
 
Back
Top Bottom