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

TFS 0.X Weapon Spell

Joined
Apr 11, 2015
Messages
98
Reaction score
5
0.4

Hello guys, im wondering if this script can be done.
I need a script that, when you equip a weapon, you learn a spell. I know how to do with items like helmet and shield, but weapons have a different folder, not in movements, so i tried to do the same and didnt work.
Also, Im looking for a similar script, but when the player equips the weapon, he gains mana regeneration, just like in the items.xml when it is placed:
XML:
<attribute key="manaGain" value="10"/>

Thx for the help. =)
 
If hand didn't work you can add it twice like this
XML:
slot="right-hand"
slot="left-hand"
 
Back
Top