BBFalcon89
Member
- Joined
- Jul 1, 2010
- Messages
- 51
- Reaction score
- 10
Where are weapon charges stored saved? Like if i want to have a weapon which decays after being used 200 times, where would i edit it. Because when i edit it in items.xml like for example
It shows me 100 charges that never goes down in game when i make the item and when i buy it its 1 charge that never goes down.
Code:
<item id="2376" article="a" name="sword">
<attribute key="weight" value="3500" />
<attribute key="defense" value="12" />
<attribute key="attack" value="14" />
<attribute key="weaponType" value="sword" />
<attribute key="extradef" value="1" />
<attribute key="charges" value="20" />
<attribute key="showcharges" value="1" />
<attribute key="decayTo" value="2376" />
</item>
It shows me 100 charges that never goes down in game when i make the item and when i buy it its 1 charge that never goes down.