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

Question about weapons.xml

Nekiro

Legendary OT User
TFS Developer
Joined
Sep 7, 2015
Messages
2,686
Solutions
127
Reaction score
2,134
What's the point in adding weapons to weapons.xml?

Wands will not work without it, but what about bows, meele weapons?
 
I think the source code reads level requirements in weapons.xml and in items.xml differently.
In items.xml, the level requirement means you can't even equip items on the slot you want, but in weapons.xml you can, it just won't work properly (as is the case with melee weapons) or won't work at all (as is the case with wands since it triggers fist fighting even when the wand is equipped)
But I still think they should just read everything from the same page, it would be so much easier haha
 
the point is so that they are used correctly in terms of level restrictions, mlevel restrictions, wielded unproperly damage, ammo, weapon scripts, vocation requirements, elemental damage, the list goes on and on
 
Back
Top