Matheus Vieira
Member
- 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:
Thx for the help. =)
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. =)