mwg API
    Preparing search index...

    Function damageItem

    • Wears an item down by amount. An item with no maxDurability set cannot wear out at all and this is a no-op - durability is opt-in per item, not a hidden default every item pays for.

      Parameters

      Returns boolean

      true once the item's durability has reached zero and it should break