Shadow Dan
Sh4dowDan
Does anyone know how to make glooth weapons losing charges (on attack and skill use) and then when it's 0 remove weapon?
Because this is not working:
items.xml
movements.xml
Because this is not working:
items.xml
Code:
<item id="23549" article="a" name="glooth club">
<attribute key="defense" value="1" />
<attribute key="attack" value="39" />
<attribute key="weaponType" value="club" />
<attribute key="slotType" value="two-handed" />
<attribute key="elementEarth" value="26" />
<attribute key="charges" value="2" />
<attribute key="showcharges" value="1" />
<attribute key="weight" value="1900" />
</item>
Code:
<movevent event="DeEquip" itemid="23549" slot="hand" function="onDeEquipItem" />
<movevent event="Equip" itemid="23549" slot="hand" level="75" function="onEquipItem"/>