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

TFS 0.X Add Magic Level Wand

Forkz

Advanced OT User
Joined
Jun 29, 2020
Messages
586
Solutions
17
Reaction score
159
Hi otlanders,

I'm having trouble adding magic level points to a wand, could someone help me?

items.xml
XML:
    <item id="12662" article="a" name="wand vip">
        <attribute key="weight" value="1260" />
        <attribute key="weaponType" value="wand" />
        <attribute key="shootType" value="death" />
        <attribute key="magiclevelpoints" value="3" />
        <attribute key="manaGain" value="10" />
        <attribute key="manaTicks" value="1000" />
        <attribute key="range" value="6" />
    </item>

weapons.xml
XML:
    <wand id="12662" level="8" mana="8" min="92" max="125" type="death" event="function" value="default"> <!-- Wand Vip -->
        <vocation id="1"/>
        <vocation id="2"/>
        <vocation id="5" showInDescription="0"/>
        <vocation id="6" showInDescription="0"/>
        <vocation id="9" showInDescription="0"/>
        <vocation id="10" showInDescription="0"/>
    </wand>
 
XML:
left-hand
right-hand
hands
Any of these "Hands" for both.
 
Solution
XML:
left-hand
right-hand
hands
Any of these "Hands" for both.
Good bro, thanks!
Post automatically merged:

XML:
left-hand
right-hand
hands
Any of these "Hands" for both.
not working, my constant.lua
LUA:
CONST_SLOT_FIRST = 1
CONST_SLOT_HEAD = CONST_SLOT_FIRST
CONST_SLOT_NECKLACE = 2
CONST_SLOT_BACKPACK = 3
CONST_SLOT_ARMOR = 4
CONST_SLOT_RIGHT = 5
CONST_SLOT_LEFT = 6
CONST_SLOT_LEGS = 7
CONST_SLOT_FEET = 8
CONST_SLOT_RING = 9
CONST_SLOT_AMMO = 10
CONST_SLOT_LAST = CONST_SLOT_AMMO
Post automatically merged:

XML:
left-hand
right-hand
hands
Any of these "Hands" for both.
Working Bro, Slot ="hand" not "hands"! Thanks <3
 
Last edited:
Back
Top