• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

register weapons in weapons XML?

Lava Titan

Developer
Joined
Jul 25, 2009
Messages
1,571
Solutions
3
Reaction score
98
Location
Portugal
hey, I got all my weapons registered in XML but the item attributes like magic lvl +2 or any other skill isn't working at all

do I need to register it somewhere else?

TFS 1.2:

weapons.xml:

Code:
<melee id="7405" level="100">
        <vocation name="Knight" />
    </melee>

items.xml:

Code:
<item id="7405" article="a" name="Sword">
        <attribute key="attack" value="10" />
        <attribute key="weaponType" value="sword" />
        <attribute key="skillSword" value="2" />
    </item>

I also tried:

Code:
<melee id="7405" level="100" unproperly="1">
        <vocation name="Knight" />
    </melee>
 

Similar threads

Back
Top