dutch berserker
Member
- Joined
- Sep 11, 2018
- Messages
- 61
- Solutions
- 1
- Reaction score
- 8
So I saw that weapon are configured in movements but also in weapons the only difference that I could find is that in weapon you can also configure the minimum/maximum damage and type for rods and wands. So I was wondering is it then still needed to put in in movements? Since level and vocs can also be done in weapons or is there another reason that you have to add the weapon also in movements?
Example:
weapons.xml
movements.xml
Example:
weapons.xml
XML:
<!--Havoc Blade-->
<melee id="7405" level="70" unproperly="1">
<vocation name="Knight" />
<vocation name="Elite Knight" showInDescription="0" />
</melee>
movements.xml
XML:
<!--Havoc Blade-->
<movevent event="Equip" itemid="7405" slot="hand" level="70" function="onEquipItem" >
<vocation name="Knight" />
<vocation name="Elite Knight" showInDescription="0" />
</movevent>
<movevent event="DeEquip" itemid="7405" slot="hand" function="onDeEquipItem" />